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

Fix GUI not updating bugs #1180

Conversation

DiegoTavares
Copy link
Collaborator

@DiegoTavares DiegoTavares commented Aug 2, 2022

  • Check if regex expression is empty before querying
  • Fix JobMonitorTree getJobs call

 - Check if regex expression is empty before querying
 - Reduce timeout to a workable value. According to (gRPC Python docs)[https://grpc.github.io/grpc/python/grpc.html#grpc.UnaryUnaryMultiCallable.__call__],
timeout is measured in seconds, meaning the current configuration is 2.7h which doesn't seem useful. Reducing to 10s.
 - Reducing JobMonitor tick to 10s
 - Check if regex expression is empty before querying
 - Fix JobMonitorTree getJobs call
Copy link
Collaborator

@bcipriano bcipriano left a comment

Choose a reason for hiding this comment

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

LGTM. Minor comment and it looks like there's a minor lint issue as well.

cuegui/cuegui/plugins/MonitorJobsPlugin.py Outdated Show resolved Hide resolved
cuegui/cuegui/plugins/MonitorJobsPlugin.py Outdated Show resolved Hide resolved
@bcipriano
Copy link
Collaborator

@DiegoTavares Ping

@DiegoTavares DiegoTavares merged commit 9b4f90f into AcademySoftwareFoundation:master Jan 29, 2024
12 checks passed
carlosfelgarcia pushed a commit to carlosfelgarcia/OpenCue that referenced this pull request May 22, 2024
* Fix GUI not updating bugs

 - Check if regex expression is empty before querying
 - Reduce timeout to a workable value. According to (gRPC Python docs)[https://grpc.github.io/grpc/python/grpc.html#grpc.UnaryUnaryMultiCallable.__call__],
timeout is measured in seconds, meaning the current configuration is 2.7h which doesn't seem useful. Reducing to 10s.
 - Reducing JobMonitor tick to 10s
 - Check if regex expression is empty before querying
 - Fix JobMonitorTree getJobs call

* Apply suggestions from code review

Signed-off-by: Diego Tavares da Silva <[email protected]>

* Update MonitorJobsPlugin.py

---------

Signed-off-by: Diego Tavares da Silva <[email protected]>
carlosfelgarcia pushed a commit to carlosfelgarcia/OpenCue that referenced this pull request May 22, 2024
* Fix GUI not updating bugs

 - Check if regex expression is empty before querying
 - Reduce timeout to a workable value. According to (gRPC Python docs)[https://grpc.github.io/grpc/python/grpc.html#grpc.UnaryUnaryMultiCallable.__call__],
timeout is measured in seconds, meaning the current configuration is 2.7h which doesn't seem useful. Reducing to 10s.
 - Reducing JobMonitor tick to 10s
 - Check if regex expression is empty before querying
 - Fix JobMonitorTree getJobs call

* Apply suggestions from code review

Signed-off-by: Diego Tavares da Silva <[email protected]>

* Update MonitorJobsPlugin.py

---------

Signed-off-by: Diego Tavares da Silva <[email protected]>
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.

2 participants