mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-25 22:55:58 +00:00
dev: increase alarm threshold for ai use
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
This commit is contained in:
@@ -183,8 +183,8 @@ class TrackSpendingService extends BaseService {
|
||||
// How frequently we'll get repeat alarms
|
||||
const alarm_cooldown_time = 30 * MINUTE;
|
||||
|
||||
const alarm_at_cost = this.config.alarm_at_cost ?? 1;
|
||||
const alarm_increment = this.config.alarm_increment ?? 1;
|
||||
const alarm_at_cost = this.config.alarm_at_cost ?? 10;
|
||||
const alarm_increment = this.config.alarm_increment ?? 10;
|
||||
|
||||
for ( const k in strategies ) {
|
||||
await strategies[k].validate?.();
|
||||
|
||||
Reference in New Issue
Block a user