Increase memory limit for gmail-agent to prevent OOM kills
This commit is contained in:
parent
05ae58ccb8
commit
b24f1a6522
|
|
@ -61,7 +61,7 @@ spec:
|
||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
memory: 128Mi
|
memory: 512Mi
|
||||||
volumes:
|
volumes:
|
||||||
- name: app-volume
|
- name: app-volume
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ const client = new Client({
|
||||||
}),
|
}),
|
||||||
puppeteer: {
|
puppeteer: {
|
||||||
headless: true,
|
headless: true,
|
||||||
args: ['--no-sandbox', '--disable-setuid-sandbox'],
|
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage'],
|
||||||
protocolTimeout: 120000,
|
protocolTimeout: 120000,
|
||||||
timeout: 120000
|
timeout: 120000
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue