VirtualBox

Changeset 70684 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 22, 2018 5:44:00 PM (7 years ago)
Author:
vboxsync
Message:

Main/VBoxSDS.cpp: Reverted timeout change (10s) from r119313 and clarifying why I had choosen 2 seconds as the idle timeout for the service.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-global/win/VBoxSDS.cpp

    r70507 r70684  
    505505
    506506public:
    507     CComServiceModule(DWORD cMsShutdownTimeout = 10000)
     507    /**
     508     * Constructor.
     509     *
     510     * @param cMsShutdownTimeout  Number of milliseconds to idle without clients
     511     *                            before autoamtically shutting down the service.
     512     *
     513     *                            The default is 2 seconds, because VBoxSVC (our
     514     *                            only client) already does 5 seconds making the
     515     *                            effective idle time 7 seconds from clients like
     516     *                            VBoxManage's point of view.  We consider single
     517     *                            user and development as the dominant usage
     518     *                            patterns here, not configuration activity by
     519     *                            multiple users via VBoxManage.
     520     */
     521    CComServiceModule(DWORD cMsShutdownTimeout = 2000)
    508522        : m_fInitialized(false)
    509523        , m_fComInitialized(false)
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