-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support writing mediums & reasons from ZMQ listener, batch up to 5 op…
…erations into each transaction (#67) * Initial work to take the mediums/reasons from ZMQ, batch them correctly * Update schemas dep, fix more tests * Fix remaining tests * Remove batch_id, log podping id of (timestampNs, sessionId) * Return dummy transaction on dry-run * Remove 3speak node * Don't rush podping batches if the # of operations waiting is 5 or more * Remove openhive node * Change num_operations_in_queue logic, remove lock from IRI ingress * Revert exponent formatting change * Add unprocessed_iri_queue for backpressure on the zmq socket * Update long_running_zmq example * Misc example changes * Update deps and basic 3.11 support * Only run poetry build once, since it will be a py3-non-any wheel * Test on 3.11, only --runslow on one version of python * Fix typo in get_relevant_transactions_from_blockchain * Correctly call task_done on unprocessed_iri_queue * Don't close the plexus if it's passed in externally * Fix tests * Put complex type hint in quotes * Build docker image with Python 3.11 * Remove unnecessary docker packages * Fix example
- Loading branch information
Showing
35 changed files
with
1,256 additions
and
710 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,26 +9,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build and publish to pypi (3.10) | ||
uses: JRubics/poetry-publish@v1.13 | ||
- name: Build and publish to pypi | ||
uses: JRubics/poetry-publish@v1.15 | ||
with: | ||
python_version: "3.10.4" | ||
python_version: "3.11.0" | ||
ignore_dev_requirements: "yes" | ||
pypi_token: ${{ secrets.PYPI_TOKEN }} | ||
extra_build_dependency_packages: "capnproto libzmq3-dev" | ||
- name: Build and publish to pypi (3.9) | ||
uses: JRubics/[email protected] | ||
with: | ||
python_version: "3.9.13" | ||
build_format: wheel | ||
ignore_dev_requirements: "yes" | ||
pypi_token: ${{ secrets.PYPI_TOKEN }} | ||
extra_build_dependency_packages: "capnproto libzmq3-dev" | ||
- name: Build and publish to pypi (3.8) | ||
uses: JRubics/[email protected] | ||
with: | ||
python_version: "3.8.13" | ||
build_format: wheel | ||
ignore_dev_requirements: "yes" | ||
pypi_token: ${{ secrets.PYPI_TOKEN }} | ||
extra_build_dependency_packages: "capnproto libzmq3-dev" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.