docs/server
HuKeping 6cd6b4726c [MISC 1/4] Tiny refactor
Reduce function "snapshotExpired" in a simpler form and replace the
literal string by the constants defined in the data package.

Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-03-11 16:43:44 +08:00
..
errors Pass original invalid version storage error details into standardized errors 2016-01-14 09:57:36 -08:00
handlers Fix mispelling of 'occur' 2016-03-07 17:22:41 -08:00
snapshot [PATCH 7/8] Update the server side 2016-03-11 10:45:01 +08:00
storage Move all imports of sqlite3 to tests only 2016-03-01 14:56:53 -05:00
timestamp [MISC 1/4] Tiny refactor 2016-03-11 16:43:44 +08:00
integration_test.go completely removing KeyDB 2016-02-16 21:11:13 -08:00
server.go the server was not setting the longer snapshot expiry time. When generating a timestamp it was also retriving the snapshot directly from the database and only validating the checksum still matched what was in the timestamp. Due to the addition of consistent downloads, this mean a new snapshot never got generated. It is necessary for GetOrCreateTimestamp to call GetOrCreateSnapshot to ensure a new snapshot is generated as and when required 2016-02-24 15:51:31 -08:00
server_test.go update metrics endpoint 2016-02-02 09:52:43 -08:00