Skip to content

Commit

Permalink
Merge pull request #94 from peter-wangxu/pre-0.4.2
Browse files Browse the repository at this point in the history
Prepare for the release of v0.4.2
  • Loading branch information
peter-wangxu authored Feb 16, 2019
2 parents 523a9a5 + da975dc commit 2eaf96d
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ from pypi
pip install persist-queue
# for msgpack support, use following command
pip install persist-queue[EXTRA]
pip install persist-queue[extra]
from source code
Expand Down Expand Up @@ -315,9 +315,16 @@ multi-thread usage for **Queue**
q.join() # block until all tasks are done
**note**

Due to the limitation of file queue described in issue `#89 <https://github.com/peter-wangxu/persist-queue/issues/89>`_,
`task_done` in one thread may acknowledge items in other threads which should not be. Considering the `SQLiteAckQueue` if you have such requirement.


Serialization via msgpack/json
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**Currently only available for file based Queue**
- v0.4.1: Currently only available for file based Queue**
- v0.4.2: Also available for SQLite3 based Queues**

.. code-block:: python
Expand All @@ -342,7 +349,7 @@ Performance impact
- **WAL**

Starting on v0.3.2, the ``persistqueue`` is leveraging the sqlite3 builtin feature
``WAL <https://www.sqlite.org/wal.html>`` which can improve the performance
`WAL <https://www.sqlite.org/wal.html>`_ which can improve the performance
significantly, a general testing indicates that ``persistqueue`` is 2-4 times
faster than previous version.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

def get_extras():
return {
"EXTRA": open("extra-requirements.txt").read().splitlines()
"extra": open("extra-requirements.txt").read().splitlines()
}


Expand Down

0 comments on commit 2eaf96d

Please sign in to comment.