mirror of
https://github.com/systemd/systemd
synced 2024-10-04 15:21:01 +00:00
bus-unit-util: extend the bus call timeout for UnitFreezer
Might fix #33083 There's another report available on Mastodon: https://m.otter.homes/@kaixin/112510783502516607 https://m.otter.homes/@kaixin/112510803023469180
This commit is contained in:
parent
61fbc58c46
commit
1d617b35fe
|
@ -2945,8 +2945,8 @@ typedef struct UnitFreezer {
|
|||
sd_bus *bus;
|
||||
} UnitFreezer;
|
||||
|
||||
/* Wait for 1.5 seconds at maximum for freeze operation */
|
||||
#define FREEZE_BUS_CALL_TIMEOUT (1500 * USEC_PER_MSEC)
|
||||
/* Wait for 10 seconds at maximum for freezer operation */
|
||||
#define FREEZE_BUS_CALL_TIMEOUT (10 * USEC_PER_SEC)
|
||||
|
||||
UnitFreezer* unit_freezer_free(UnitFreezer *f) {
|
||||
if (!f)
|
||||
|
|
Loading…
Reference in a new issue