I have recently tried upgrading Hangfire.Pro.Redis library from version 2.7.5 to 2.8.16.
During testing I saw that recurring jobs are enqueued but not taken for processing.
Initial investigation seems to reveal that the issue lies in missing channel prefix when executing PUBLISH as part of lua script (might have been introduced in version 2.8.0).
My redis connection string:
redis.dev.local:6379,ssl=false,ChannelPrefix=MyChanPrefix
In 2.7.5
+1662549289.606013 [0 172.18.0.1:48872] "SUBSCRIBE" "MyChanPrefixHangfireRedis-Local:queue:myjobsqueue-8ea03fb5-3392-481c-908c-056449f31429:events"
+1662549289.613904 [0 172.18.0.1:48874] "PUBLISH" "MyChanPrefixHangfireRedis-Local:queue:myjobsqueue-8ea03fb5-3392-481c-908c-056449f31429:events" ""
In 2.8.16:
+1662118239.178589 [0 172.18.0.1:55956] "SUBSCRIBE" "MyChanPrefixHangfireRedis-Local:queue:myjobsqueue-8ea03fb5-3392-481c-908c-056449f31429:events"
...
+1662118237.206201 [0 lua] "publish" "HangfireRedis-Local:queue:myjobsqueue-8ea03fb5-3392-481c-908c-056449f31429:events" ""
Can someone confirm if it is a bug or am I rather missing something in configuration?