openvstorage / arakoon

The consistent distributed key-value store in Open vStorage.
http://arakoon.org/
Apache License 2.0
28 stars 7 forks source link

Lock TZ at startup #219

Closed delamonpansie closed 6 years ago

delamonpansie commented 6 years ago

This will save one stat(/etc/localtime) syscall per log print

delamonpansie commented 6 years ago

We can protect against https://github.com/janestreet/core/issues/96 by forcing Time.Zone.local before setting TZ