mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 14:10:06 +01:00
Use 10 minute timeout instead of default.
This commit is contained in:
parent
09ca916772
commit
37f9068fd9
1 changed files with 3 additions and 2 deletions
|
|
@ -541,6 +541,7 @@ main (int argc, char **argv)
|
|||
char dest[256];
|
||||
char path[256];
|
||||
uint32_t index;
|
||||
int timeout = 600000; /* 10 minutes */
|
||||
|
||||
for (i = 1; i < argc; i++)
|
||||
{
|
||||
|
|
@ -762,7 +763,7 @@ main (int argc, char **argv)
|
|||
|
||||
reply = dbus_connection_send_with_reply_and_block (conn,
|
||||
message,
|
||||
-1,
|
||||
timeout,
|
||||
&err);
|
||||
|
||||
dbus_message_unref (message);
|
||||
|
|
@ -840,7 +841,7 @@ main (int argc, char **argv)
|
|||
|
||||
reply = dbus_connection_send_with_reply_and_block (conn,
|
||||
message,
|
||||
-1,
|
||||
timeout,
|
||||
&err);
|
||||
|
||||
dbus_message_unref (message);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue