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.
The first commit switches from
ReaderWriterLock
toReaderWriterLockSlim
.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 forQueuePollInterval
timespan.