VirtualBox

Changeset 25405 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Dec 15, 2009 2:08:32 PM (15 years ago)
Author:
vboxsync
Message:

VBoxService: increased the minimum timesync interval from 1ms to a more saner value of 50ms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceTimeSync.cpp

    r25390 r25405  
    169169    {
    170170        rc = VBoxServiceReadPropUInt32(uGuestPropSvcClientID, "/VirtualBox/GuestAdd/VBoxService/--timesync-interval",
    171                                        &g_TimeSyncInterval, 1, UINT32_MAX - 1);
     171                                       &g_TimeSyncInterval, 50, UINT32_MAX - 1);
    172172        if (   RT_SUCCESS(rc)
    173173            || rc == VERR_NOT_FOUND)
     
    228228    else if (!strcmp(argv[*pi], "--timesync-interval"))
    229229        rc = VBoxServiceArgUInt32(argc, argv, "", pi,
    230                                   &g_TimeSyncInterval, 1, UINT32_MAX - 1);
     230                                  &g_TimeSyncInterval, 50, UINT32_MAX - 1);
    231231    else if (!strcmp(argv[*pi], "--timesync-min-adjust"))
    232232        rc = VBoxServiceArgUInt32(argc, argv, "", pi,
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