Skip to content

Provider Agent issues

nieznanysprawiciel edited this page Apr 20, 2020 · 1 revision

Provider Agent issues

Closing application

Provider can't be closed in clean way for several reasons:

  • If we have running tasks, they will be terminated. This can cause decrease in provider reputation.
  • There's no way to stop accepting new agreements, so user can't find good moment to stop application.
  • Ctrl-C handler terminates all task - it could wait for the execution to finish, but it isn't expected behavior of ctrl-c. We need some other way of interaction between provider and user.

Current solution: User sets estimated shutdown time, when he runs application. Provider won't accept any offer from market, that ends after this expiration time.

GUI/user interaction

Problem with closing application shows, that it is necessary to interact with provider agent some way. Probably in future we will implement GUI application, that need this interaction too.