Skip to content

Commit

Permalink
✨ feat(user): 修改默认容量 20->40
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonBegonia committed Jul 27, 2021
1 parent b88a6c7 commit c5a375f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ module.exports = class User {

static async getPoolInfo() {
const count = await getEnvsCount();
const allowCount = (process.env.ALLOW_NUM || 20) - count;
const allowCount = (process.env.ALLOW_NUM || 40) - count;
return {
marginCount: allowCount >= 0 ? allowCount : 0,
allowAdd: Boolean(process.env.ALLOW_ADD) || true,
Expand Down

0 comments on commit c5a375f

Please sign in to comment.