File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/packages/server/compute/maintenance/purchases Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import getMinBalance from "@cocalc/server/purchases/get-min-balance";
12
12
import adminAlert from "@cocalc/server/messages/admin-alert" ;
13
13
14
14
// turn VM off if you don't have at least this much left.
15
- const COST_THRESH_DOLLARS = 1 ;
15
+ const COST_THRESH_DOLLARS = 2 ;
16
16
17
17
// If can't buy -- even if you increase all quotas and balance by
18
18
// this amount -- then delete. This is to avoid bad situations, e.g.,
@@ -27,7 +27,7 @@ const COST_THRESH_DOLLARS = 1;
27
27
// NOTE: we do not automatically delete for a user with a negative balance
28
28
// until it's way below (DELETE_THRESH_MARGIN_NEGATIVE_BALANCE) their negative,
29
29
// as that indicates some trust.
30
- const DELETE_THRESH_MARGIN_DEFAULT = 10 ;
30
+ const DELETE_THRESH_MARGIN_DEFAULT = 0 ;
31
31
const DELETE_THRESH_MARGIN_NEGATIVE_BALANCE = 200 ;
32
32
33
33
const logger = getLogger ( "server:compute:maintenance:purchase:low-balance" ) ;
You can’t perform that action at this time.
0 commit comments