Sunil Mohan Adapa c96c97166f
glib: Change API for repeating an in-thread scheduled task
Previously, in glib.schedule(), when in_thread is set to True, it is expected
that the task method return whether it wants to be repeated (True) or
not (False). However, this was not documented and different from the behavior of
the separate-thread task (passed as argument repeat=). To simply and improve
consistency, use the repeat= argument instead of return value from the method.

This fixes issue with daily diagnostics not running for the second time.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2024-01-23 11:40:57 -08:00
..
2024-01-15 21:31:27 -05:00
2023-08-23 21:47:39 -04:00
2023-10-30 22:09:00 -07:00
2023-08-23 21:47:39 -04:00
2023-09-25 20:03:24 -04:00
2023-09-25 20:03:24 -04:00