Skip to content

Commit 9246bd3

Browse files
author
Andrew Farries
committed
Set usage schedule to 1m in preview
Run usage reconciliation more frequently in preview envs to make developing the service easier.
1 parent 14095f4 commit 9246bd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.werft/jobs/build/installer/installer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ EOF`);
235235

236236
private configureUsage(slice: string) {
237237
exec(`yq w -i ${this.options.installerConfigPath} experimental.webapp.usage.enabled true`, { slice: slice })
238+
exec(`yq w -i ${this.options.installerConfigPath} experimental.webapp.usage.schedule 1m`, { slice: slice })
238239
exec(`yq w -i ${this.options.installerConfigPath} experimental.webapp.usage.creditsPerMinuteByWorkspaceClass['default'] 0.1666666667`, { slice: slice })
239240
exec(`yq w -i ${this.options.installerConfigPath} experimental.webapp.usage.creditsPerMinuteByWorkspaceClass['gitpodio-internal-xl'] 0.3333333333`, { slice: slice })
240241
}

0 commit comments

Comments
 (0)