Closed diogoastavares closed 1 month ago
try upgrading to a newer version than 7.3.0. This has been fixed in a more recent release
@timgit on what release this was fixed?
The idea is to migrate pg-boss version from v4.3.4
to v9.0.3
. Considering that, planned a phased migration:
v7.3.0
, since is the last that support migration for older versionsv9.0.3
as final versionI tested for v9.0.3
and that problems still exists.
It might be because you're passing in text instead of number?
Hi @timgit
My jobs are getting status failed, due to the fact that the expiration time is not being correctly set up. I'm setting up a job that should expire within an hour running (using option
expireInHours
), however I'm getting the following error.Accordingly to my investigation, this error comes from the
resolveWithinSeconds
method, that is receiving anundefined
value onjob.expire_in_seconds
. Going deeper on this, I found out that the problems is that when running the query that retrieves the jobs (plans.fetchNextJob
) the output should have the results in snake case. However everything is in camel case, turning that when trying to resolvejob.expire_in_seconds
it is not able to find any value that matches that key.Is there any configuration to make this snake case?