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

Ghost Actor Periodic Task #288

Open
2 tasks
zippy opened this issue Sep 5, 2019 · 0 comments
Open
2 tasks

Ghost Actor Periodic Task #288

zippy opened this issue Sep 5, 2019 · 0 comments

Comments

@zippy
Copy link
Member

zippy commented Sep 5, 2019

Currently, there are a couple places where we are manually checking things on a timeout... It'd be nice to register a periodic-type task (add_periodic_task()) with a tracker somewhere that could automagically get invoked appropriately.

  • caching of waiting for response from the p2p network.
  • make the retries for send-direct-message use this and match up time-wise with the original timeout from the request.

There is a start at periodic tasks in ghost_system and in ghost_tracker, but they are hard to work with from the perspective of an actor / an actor's owner.

Maybe the periodic task wrapper doesn't even belong in ghost_tracker.

Figure out a good way to handle periodic tasks from an actor perspective and implement it.

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

No branches or pull requests

2 participants