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

[Feature Request] Watchers #81

Closed
grachevko opened this issue Dec 30, 2018 · 2 comments
Closed

[Feature Request] Watchers #81

grachevko opened this issue Dec 30, 2018 · 2 comments
Assignees
Labels
C-enhancement Category: enhancement. Meaning improvements of current module, transport, etc..

Comments

@grachevko
Copy link

Watchers - jobs generating special request from RR to workers.
This feature may useful for keep/close connection in workers, or many other custom jobs.

Suggestions:

  • Configure any counts of watchers
  • Worker must recieve information about watcher his called (to know whitch jobs to run)
  • 3 types of triggers
    • Triggered once after specific idle time
    • Triggered periodicaly by specific timer
    • Triggered periodicaly by specific timer only in idle state
@wolfy-j wolfy-j added the C-enhancement Category: enhancement. Meaning improvements of current module, transport, etc.. label Jan 2, 2019
@wolfy-j
Copy link
Contributor

wolfy-j commented Jan 2, 2019

I have an idea about that, i can create another service to watch any specif RR server (GRPC, Jobs or PSR) with ability to control workers.

@wolfy-j wolfy-j self-assigned this May 3, 2019
@wolfy-j
Copy link
Contributor

wolfy-j commented May 5, 2019

Available in 1.4.0, see sample config:
https://github.com/spiral/roadrunner/blob/master/.rr.yaml#L65

@wolfy-j wolfy-j closed this as completed May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: enhancement. Meaning improvements of current module, transport, etc..
Projects
None yet
Development

No branches or pull requests

2 participants