Can't run two Long running jobs parellely

We are facing following exception when running two long jobs

@odinserj any idea not sure this from hangfire

A second operation started on this context before a previous asynchronous operation completed. Use ‘await’ to ensure that any asynchronous operations have completed before calling another method on this context. Any instance members are not guaranteed to be thread safe.

You don’t post enough detail, however it is clear you are sharing database contexts across threads.

Don’t do that, it is not supported, see avoiding-dbcontext-threading-issues.