getzero11 commited on
Commit
f26cb68
·
verified ·
1 Parent(s): 6ef109d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -29,6 +29,10 @@ ENV CACHE_LOCAL_ENABLED=true
29
  ENV CACHE_REDIS_ENABLED=false
30
  ENV DELAY_MESSAGES=true
31
 
32
- # 6. Force a newer WhatsApp Web version to fix the QR/Loop issue
 
 
 
 
33
  ENV CONFIG_SESSION_PHONE_VERSION=2.3000.1030415680
34
  ENV WEB_VERSION=2.3000.1030415680
 
29
  ENV CACHE_REDIS_ENABLED=false
30
  ENV DELAY_MESSAGES=true
31
 
32
+ # 6. Limit the number of simultaneous connections Prisma opens
33
+ ENV DATABASE_CONNECTION_MAX_POOL_SIZE=5
34
+ ENV DATABASE_CONNECTION_TIMEOUT=30
35
+
36
+ # 7. Force a newer WhatsApp Web version to fix the QR/Loop issue
37
  ENV CONFIG_SESSION_PHONE_VERSION=2.3000.1030415680
38
  ENV WEB_VERSION=2.3000.1030415680