Menu

#1522 timeBeginPeriod side effects

None
open-accepted
nobody
None
1
2020-10-12
2020-10-01
No

timeBeginPeriod has global effect and causes side effects like increased system power usage, faster battery drain, coil noise, and affecting every single application running.
It should be used only when the actual connections happens or use high resolution performance counters instead if possible. Currently when the service starts, it is called immediately and stays there until shutdown. This is very bad practice.

Discussion

  • Anton

    Anton - 2020-10-12
    • status: open --> open-accepted
    • Group: -->
     
  • Anton

    Anton - 2020-10-12

    Thank you.
    Will be fixed in the next release.

     

Log in to post a comment.

MongoDB Logo MongoDB