[SSSD] Design Discussion: Periodic task API
Jakub Hrozek
jhrozek at redhat.com
Mon Apr 29 18:52:48 UTC 2013
On Mon, Apr 29, 2013 at 08:47:00PM +0200, Pavel Březina wrote:
> >>> * What about online/offline callbacks? Some tasks should be re-enabled
> >>> when the BE goes online or cancelled when the BE is offline
> >>
> >>If this is needed then you should create the task in online callback
> >>and destroy it in offline callback.
> >
> >OK, can you add that bit to the design page?
>
> I will amend my answer - if we need it, we will implement it as a
> part of be_periodic_task.
>
> Task may successfully open connection to database, turning SSSD back
> online. AFAIK there is currently no use case for disabling the task
> when offline.
What about the periodic DNS update task?
More information about the sssd-devel
mailing list