-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hangfire.LiteDB get locked for concurrent access #23
Comments
Try 0.3.1 version... |
i meet this exception too |
I get this all the time, I was never able to solve (I'm on 0.4.0 with .NET 5) and switched to MemoryStorage |
Yep, me too. Brand new app .Net8, still in development. Couldn't work out why the scheduled jobs wouldn't trigger. Then got the same exception as above.
It would seem that LiteDB is just not fit for purpose here. |
We are having problems with accessing the LiteDB database with Hangfire implementation. We are using Hangfire.LiteDB (0.3.0) and looks like for concurrent multi process environment database is getting locked, which results in crashing the Hangfire jobs. The size of the database is really small (3MB).
We are simply creating the connection and attaching it to the hangfireDB. Following is the connection code,
`public void ConfigureServices(IServiceCollection service)
{
ApiStartupExtensions.ConfigureServices(Configuration, service, _currentHostingEnvironment);
Could you share an example of how to implement concurrency with Hangfire jobs using HangFire.LiteDB or You can suggest a necessary changes required?
The text was updated successfully, but these errors were encountered: