predragnikolic
Explore posts from serversRestarting a server causes deployment to run again
https://docs.bullmq.io/bull/important-notes
Maybe I hit this:
It's important to understand how locking works to prevent your jobs from losing their lock - becoming stalled - and being restarted as a result. ... Your job processor was too CPU-intensive and stalled the Node event loop, and as a result, Bull couldn't renew the job lock (see #488 for how we might better detect this). You can fix this by breaking your job processor into smaller parts so that no single part can block the Node event loop. Alternatively, you can pass a larger value for the lockDuration setting (with the tradeoff being that it will take longer to recognize a real stalled job).
9 replies
Restarting a server causes deployment to run again
I am not sure if it is better to be explicitly tell BullMQ that a job finished successfully by doing:
or by putting a check like this(but I would rather fix the bug in the root, rather that putting a check like this)
9 replies
Restarting a server causes deployment to run again
While having dokploy dashboard open, and the network tab open.
When I turn off the server on Hetzner and turn it on,
I will that Dokply sends the following request at some interval, https://dokploy.xyz.com/api/trpc/auth.get,application.one,deployment.all
I will see a few responses with status 527 from CloudFlare in the network panel
than a few 502,
than I can see the response:
then when the app calls https://dokploy.xyz.com/api/trpc/auth.get,application.one,deployment.all again
it will create a new deployment:
https://dokploy.xyz.com/api/trpc/auth.get,application.one,deployment.all
9 replies
Cannot access Dokploy dashboard on domain. How can I debug CloudFlare bad gateway error?
I am not sure what
docker-pr
is and why it taken the ports.
is this related?
https://stackoverflow.com/questions/56568370/docker-pr-proc-already-listening-on-port-80-installed-docker-with-snappy-on-ubu12 replies
No-WWW to WWW Rederict
It may not be related to cloudflare, it might be related to traefik, see related issues https://github.com/traefik/traefik/issues?q=is%3Aissue+%2F%24%257B1%257D+is%3Aclosed
5 replies