After upgrade to 3.1.1, my postal is sending less number of emails. Worker > Thread config missing in new config support #2879
-
Describe the bugI have upgraded the postal server from 2.3.0/1 to 3.1.1 Post upgrade, my postal is just sending 7-8 emails / minute. In yaml, I am not able to find worker configuration https://github.com/postalserver/postal/blob/main/doc/config/yaml.yml quantity: 8 A clear and concise description of what the bug is. To Reproduce
Expected behaviourThere was a thread configuration in the config file on older version, but its not there on new version and it seems causing a slow email sending issue to my server. ScreenshotsEnvironment details
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
In version 3 (and version 2) the easier way to scale is to add more workers via the |
Beta Was this translation helpful? Give feedback.
-
7-8 emails per minute is extremely slow for a single worker. A single worker process can handle significantly more than that on a system that is configured correctly and not sending e-mails to SMTP servers on the moon. However, the correct way to scale workers on v3 is to use a version: "3.9"
services:
worker:
deploy:
replicas: 4 |
Beta Was this translation helpful? Give feedback.
7-8 emails per minute is extremely slow for a single worker. A single worker process can handle significantly more than that on a system that is configured correctly and not sending e-mails to SMTP servers on the moon.
However, the correct way to scale workers on v3 is to use a
docker-compose.override.yml
file in/opt/postal/install
. The old worker configuration never worked well anyway.