Closed abh closed 12 years ago
Have a goroutine check if the json files have been updated every 5-10 seconds. When a file has been updated, reload it atomically and safely (if loading the new file fails, continue running with the old file).
Have a goroutine check if the json files have been updated every 5-10 seconds. When a file has been updated, reload it atomically and safely (if loading the new file fails, continue running with the old file).