wanlitao / HangfireExtension

Hangfire Extension plugins
Apache License 2.0
22 stars 32 forks source link

fixes #9 ( Sqlite storage makes asp.net core application very slow ) #10

Closed zhakupov closed 7 years ago

zhakupov commented 7 years ago

The first commit switches from ReaderWriterLock to ReaderWriterLockSlim.

The second one tries to release db write lock (see SQLiteJobQueue.Dequeue method) as soon as possible. This allows us to write to the database (for example enqueue new jobs) without waiting for QueuePollInterval timespan.

tidusjar commented 7 years ago

Is this going to get merged in any time soon @wanlitao ?