arena icon indicating copy to clipboard operation
arena copied to clipboard

Repeatable jobs in bull cause crash.

Open adjenks opened this issue 7 years ago • 5 comments

I'm not sure why this ticket was closed: https://github.com/bee-queue/arena/issues/43 It seems to still be an issue. I created one repeatable job as a 'hello world' and it crashed with the same error TypeError: Cannot read property 'name' of undefined

adjenks avatar Feb 12 '19 12:02 adjenks

If you are using docker image, the released version on mixmaxhq directory is old . Try this one https://hub.docker.com/r/odlevakp/arena

vinhal avatar Apr 05 '19 20:04 vinhal

@Vinhal Why is this version not in the README?

adjenks avatar Apr 12 '19 08:04 adjenks

Thanks for the report. If this is still a problem, you could help us understand the problem by posting a reprex - something self-contained that we can use to dig in. Otherwise, we don't have much to go on.

I tried using bull and creating a simple repeatable job, and didn't see any errors in arena when viewing the job.

queue.add('test', { foo: 'bar' }, { repeat: { every: 10000, limit: 100 } });

skeggse avatar Aug 06 '20 17:08 skeggse

@skeggse Yes, it's probably fine now. I was using the mixmaxhq/arena docker image posted in the README and it was out of date at the time. It's probably working now, considering it says it was updated 20 hours ago and I made this a year ago. Thank you for checking.

adjenks avatar Aug 06 '20 20:08 adjenks

I never did use the docker image that Vinhal posted because it wasn't recommended by the README here so I didn't trust it.

adjenks avatar Aug 06 '20 20:08 adjenks