VirtualBox

Changeset 93164 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Jan 10, 2022 11:06:40 AM (3 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Decreased default timeouts in IGuestSession::close().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r93163 r93164  
    33043304    int rcGuest = VINF_SUCCESS;
    33053305
    3306     uint32_t msTimeout = 30 * 1000; /* 30s timeout by default */
    3307     for (int i = 0; i < 10; i++)
     3306    uint32_t msTimeout = RT_MS_10SEC; /* 10s timeout by default */
     3307    for (int i = 0; i < 3; i++)
    33083308    {
    33093309        if (i)
     
    33113311            LogRel(("Guest Control: Closing session '%s' timed out (%RU32s timeout, attempt %d/10), retrying ...\n",
    33123312                    mData.mSession.mName.c_str(), msTimeout / RT_MS_1SEC, i + 1));
    3313             msTimeout += RT_MS_10SEC; /* Slightly increase the timeout. */
     3313            msTimeout += RT_MS_5SEC; /* Slightly increase the timeout. */
    33143314        }
    33153315
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette