mirror of
https://github.com/HeyPuter/puter.git
synced 2025-02-02 23:28:39 +08:00
dev: increase alarm threshold for ai use
This commit is contained in:
parent
97f86e564f
commit
5b04d1afe1
@ -183,8 +183,8 @@ class TrackSpendingService extends BaseService {
|
|||||||
// How frequently we'll get repeat alarms
|
// How frequently we'll get repeat alarms
|
||||||
const alarm_cooldown_time = 30 * MINUTE;
|
const alarm_cooldown_time = 30 * MINUTE;
|
||||||
|
|
||||||
const alarm_at_cost = this.config.alarm_at_cost ?? 1;
|
const alarm_at_cost = this.config.alarm_at_cost ?? 10;
|
||||||
const alarm_increment = this.config.alarm_increment ?? 1;
|
const alarm_increment = this.config.alarm_increment ?? 10;
|
||||||
|
|
||||||
for ( const k in strategies ) {
|
for ( const k in strategies ) {
|
||||||
await strategies[k].validate?.();
|
await strategies[k].validate?.();
|
||||||
|
Loading…
Reference in New Issue
Block a user