-
Hello there, I'm new to Mojolicious and I need a bit of help. Thanks in advance! Here's the issue. We currently have a large and busy application running on Dancer(1). In order to process background tasks, we adopted Minion. This was done intentionally as we desire to eventually migrate the app to Mojolicious. Minion has been wonderfully running minimal background tasks for the past several months. We recently decided to up the ante and give more work to Minion. The additional work is processing incoming webhooks. After extensive testing, we put the upgrade into production, and it worked great for several days. Then, last night, without any updates whatsoever, we started to intermittently see the error Any ideas what's going on, and how to fix it? It's blowing my mind that we have made no changes whatsoever to our production configuration, or at least that we know of. Thanks!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
That error makes absolutely no sense to me. The migration is only checked the first time the database is accessed from a process, usually during application/worker startup. Of course i have no idea how your Dancer app is deployed, and i do not maintain the MySQL backend. Given those constraints, my best guess would be to try |
Beta Was this translation helpful? Give feedback.
That error makes absolutely no sense to me. The migration is only checked the first time the database is accessed from a process, usually during application/worker startup. Of course i have no idea how your Dancer app is deployed, and i do not maintain the MySQL backend.
Given those constraints, my best guess would be to try
$minion->backend->mysql->auto_migrate(0)
with the Minion instance on the Dancer side. Your version upgrades will be a bit less seamless, but having migrations only run on the worker side should usually be good enough.