Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add timeout to ActivateJobs request #325

Open
wants to merge 31 commits into
base: master
Choose a base branch
from

Conversation

EyalCMX
Copy link

@EyalCMX EyalCMX commented Aug 25, 2022

add timeout to ActivateJobs request
handle ZeebeDeadlineExceeded exception

Changes

  • timeout to ActivateJobs request
  • handle ZeebeDeadlineExceeded exception

API Updates

New Features (required)

None

Deprecations (required)

None

Enhancements (optional)

fixing the issue describe below:
when using Camunda cloud zeebe, polling requests for activateJobs can stuck forever,
which leads to inability to consume more tasks

Checklist

  • Unit tests
  • Documentation

References

Fixes #324

@CLAassistant
Copy link

CLAassistant commented Aug 25, 2022

CLA assistant check
All committers have signed the CLA.

@JonatanMartens
Copy link
Collaborator

Hey @EyalCMX, looks good.

Please rebase from master so that tests can run and we can merge

Copy link

@liorcmx liorcmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@EyalCMX
Copy link
Author

EyalCMX commented Nov 14, 2022

Hey @EyalCMX, looks good.

Please rebase from master so that tests can run and we can merge

@JonatanMartens done please approve!

@coveralls
Copy link

coveralls commented Nov 14, 2022

Pull Request Test Coverage Report for Build 3408301693

  • 5 of 7 (71.43%) changed or added relevant lines in 4 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.09%) to 94.058%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pyzeebe/grpc_internals/zeebe_adapter_base.py 2 3 66.67%
pyzeebe/worker/job_poller.py 0 1 0.0%
Files with Coverage Reduction New Missed Lines %
pyzeebe/worker/job_poller.py 1 82.22%
Totals Coverage Status
Change from base Build 3048422225: -0.09%
Covered Lines: 744
Relevant Lines: 791

💛 - Coveralls

@JonatanMartens
Copy link
Collaborator

@EyalCMX the job for format checking fails.
Please format using black: poetry run black ., push the changes and I'll approve

@EyalCMX
Copy link
Author

EyalCMX commented Nov 15, 2022

@EyalCMX the job for format checking fails. Please format using black: poetry run black ., push the changes and I'll approve

@JonatanMartens done please approve!

@EyalCMX
Copy link
Author

EyalCMX commented Jan 12, 2023

@JonatanMartens can u approve it again please

@EyalCMX
Copy link
Author

EyalCMX commented Jan 25, 2023

@JonatanMartens can u merge it i dont have permission

@michaelarnauts
Copy link

@EyalCMX @JonatanMartens i'm waiting for this to be merged. Is there a more maintained zeebe python plugin available?

@EyalCMX
Copy link
Author

EyalCMX commented Jan 15, 2024

@michaelarnauts i dont think @JonatanMartens maintains this library... and i can't merge it

@xomiamoore
Copy link
Contributor

Hey there @michaelarnauts @EyalCMX -- we're looking for additional maintainers for this project. #381

@JonatanMartens
Copy link
Collaborator

Hey @EyalCMX, I'm very sorry for the delayed review

@EyalCMX
Copy link
Author

EyalCMX commented May 7, 2024

@JonatanMartens ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

when using Camunda cloud zeebe, polling requests for activateJobs stuck forever
7 participants