Skip to content

Commit 1eb9d5a

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 d0e6bd7 commit 1eb9d5a

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
@@ -240,6 +240,7 @@ EOF`);
240240

241241
private configureUsage(slice: string) {
242242
exec(`yq w -i ${this.options.installerConfigPath} experimental.webapp.usage.enabled true`, { slice: slice })
243+
exec(`yq w -i ${this.options.installerConfigPath} experimental.webapp.usage.schedule 1m`, { slice: slice })
243244
exec(`yq w -i ${this.options.installerConfigPath} experimental.webapp.usage.creditsPerMinuteByWorkspaceClass['default'] 0.1666666667`, { slice: slice })
244245
exec(`yq w -i ${this.options.installerConfigPath} experimental.webapp.usage.creditsPerMinuteByWorkspaceClass['gitpodio-internal-xl'] 0.3333333333`, { slice: slice })
245246
}

0 commit comments

Comments
 (0)