Skip to content

Commit 8b129f2

Browse files
Furistoroboquat
authored andcommitted
[server] Remove workspace class feature flag
1 parent be94dfb commit 8b129f2

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

components/server/src/workspace/workspace-starter.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -879,16 +879,11 @@ export class WorkspaceStarter {
879879
}
880880
}
881881

882-
let workspaceClass = "";
883-
let classesEnabled = await getExperimentsClientForBackend().getValueAsync("workspace_classes", false, {
884-
user,
885-
teams: userTeams,
886-
billingTier,
887-
});
888882
const usageAttributionId = await this.userService.getWorkspaceUsageAttributionId(user, workspace.projectId);
889883
const billingMode = await this.billingModes.getBillingMode(usageAttributionId, new Date());
890884

891-
if (classesEnabled || BillingMode.canSetWorkspaceClass(billingMode)) {
885+
let workspaceClass = "";
886+
if (BillingMode.canSetWorkspaceClass(billingMode)) {
892887
// this is either the first time we start the workspace or the workspace was started
893888
// before workspace classes and does not have a class yet
894889
workspaceClass = await getWorkspaceClassForInstance(

0 commit comments

Comments
 (0)