Limit CPU/Memory usage for accessories? #370
-
Is it possible to configure max memory and cpu usage for app and accessories? I have background jobs running as accessory, but they take all the cpu when running (very low cost deployment, just 1 small server). I don't care for these jobs to run fast, they could just run at max 20% cpu, even if nobody is using the remaining 80%, it's more important that the web apo stays reactive. Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hopefully you already solved your issue ...
Full example for a redis accessory:
|
Beta Was this translation helpful? Give feedback.
Hopefully you already solved your issue ...
If anyone comes across this issue, you can add options to define the memory.
Full example for a redis accessory: