Use millisecond resolution for timestamps of updated directory objects on DELETE requests

This commit is contained in:
2012-11-03 15:00:59 +01:00
parent 483523b091
commit 2c9979f544
2 changed files with 4 additions and 4 deletions

View File

@@ -107,7 +107,7 @@ module RemoteStorage
def delete_data(user, directory, key)
riak_response = data_bucket.delete("#{user}:#{directory}:#{key}")
timestamp = Time.now.to_i
timestamp = (Time.now.to_f * 1000).to_i
delete_or_update_directory_objects(user, directory, timestamp)
halt riak_response[:code]