I believe I have full icu support, as this problem is only happening when I am running my project locally. If I try it on the playground, it shows as expected, as well if I'm testing on the console, etc
It just appears to be a problem when running jsreport locally, could I be lacking some config or something?
Either way, I will check up the link that you sent me and look into this a bit more. Thank you!
@bjrmatos ... you're absolutely right - I'm a promises n00b. My company has made it a "standard" to stay away from promises in lieu of using standard async functions. Those decisions are way beyond my paygrade and knowledge base. All that said, you've TOTALLY saved my biscuits here and I can't begin to thank you enough.
I believe I have everything I need, at least for now <fingerz_crossed> :-)
I have used original docx recipe and when I download it from local and send it in gmail the preview is working fine but when we test it on server then it is not working. Do you have any idea regarding this?
The workers.numberOfWorkers config limits the parallelism. Every worker can process only one parallel request.
If you send 120 requests at once, the requests that won't have any free workers will wait in the queue and eventually fail on Error: Timeout when waiting for worker.
Increasing workers.numberOfWorkers should help but if you increase it too much, you will reach the server limits. A good value for the start can be for example 2x the number of CPUs.
You mentioned you have a scaling limit of 15 instances. However this typically doesn't have immediate effect. If you send 120 requests, it will reach just one instance and overload it resulting in the mentioned timeout.
Do you use a shared atlas instance or a dedicated replica set? What if you try a local Mongo instance, the performance is ok? How many entities do you have? You can look into atlas profiler what query is slow.