Commit c047317e400efc75b07aa0fff61ee1fcd794e74e

Carlos Martín Nieto 2014-03-18T17:54:32

config: make refresh atomic Current code sets the active map to a new one and builds it whilst it's active. This is a race condition with someone else trying to access the same config. Instead, let's build up our new map and swap the active and new one.