Comments (3)
So, with Queue, you would have two tails, a hard tail (marking the physical end of queue) and a soft tail (marking the next item to 'get'). The hard tail (so, self.info['tail']) would be manipulated by task_done. The soft tail would be manipulated by get and handle reading from the file pointers. I'll see if I can implement this.
from persist-queue.
Thanks for the exploration.
I did a quick check for the SQLiteQueue, it's probably caused by a database committed by the sqlite3, I will need to investigate how to avoid this.
from persist-queue.
@jamesporritt You can give a try for above fix, it addresses the issue you mentioned both for file and sqlite queue.
from persist-queue.
Related Issues (20)
- Issue when importing FIFOSQLiteQueue? HOT 1
- Is should be changed to ==
- [Regression] Can no longer retrieve None without raw=True HOT 1
- AttributeError: module 'persistqueue' has no attribute 'SQLiteAckQueue' HOT 3
- FILOSQLiteAckQueue _SQL_SELECT broken HOT 3
- qsize not changing HOT 1
- pypi release HOT 3
- mySQL db HOT 10
- SQLite objects created in a thread can only be used in that same thread HOT 2
- File is not getting cleared after get() function HOT 13
- Connection not die after kill signal. HOT 1
- Queue gets corrupted after power cut HOT 9
- sqlite vacuum not working HOT 8
- Queue items not removed after each get() HOT 3
- Priority queue HOT 4
- What if data is already serialized HOT 2
- What if data is already serialized Part II ? HOT 1
- Get() hangs when used with pqid HOT 1
- FILOSQLiteAckQueue is not exported from __init__ HOT 2
- AttributeError: module 'persistqueue' has no attribute 'MySQLQueue' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from persist-queue.