-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(signals): Improve send signals process (#24)
* feat(sqlstorage): Add limit and offset arguments in get_all_signals function * feat(sqlstorage): Change delete_signals and delete_machines method to improve pruning * test(*): Add some test path to gitignore * feat(storage): Modify get_all_signals to have sent and is_failing param * feat(client): Add batch_size param for send_signals and prune_failing_machines_signals * feat(storage): Rename get_all_signals to get_signals * feat(log): Improve log messages * feat(signal): Return number of sent and pruned signal in related methods * test(*): Add test for get_signals * chore(changelog): Prepare release 0.4.0 * fix(send): Do not offset even if no prune as we are taking only not sent signals * feat(signals): Rename _send_signals to _send_signals_to_capi * style(*): Pass through lint * style(*): Pass through lint
- Loading branch information
1 parent
9826f2a
commit f1c43d3
Showing
12 changed files
with
364 additions
and
77 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 |
---|---|---|
|
@@ -147,4 +147,7 @@ src/cscapi/_version.py | |
.vscode | ||
|
||
#ddev | ||
.ddev | ||
.ddev | ||
|
||
# customm scripts | ||
examples/**/perf* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
black | ||
pytest | ||
pytest-dotenv | ||
pytest-httpx | ||
pytest-httpx==0.29.0 | ||
pytest-timeout | ||
sqlalchemy-utils | ||
mysql-connector-python | ||
pymysql | ||
pg8000 | ||
psutil | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
sqlalchemy>=1.4 | ||
python-dateutil | ||
httpx | ||
httpx==0.26.* | ||
dacite | ||
importlib-metadata | ||
pyjwt | ||
|
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.