Sha256: 0e3095233d64362607c0ebeaa2479212f2e11c4ba6a9ae84d6626bb14dc6b9f6

Contents?: true

Size: 170 Bytes

Versions: 85

Compression:

Stored size: 170 Bytes

Contents

local function current_time()
  local time = redis.call("time")
  local s = time[1]
  local ms = time[2]
  local number = tonumber((s .. "." .. ms))

  return number
end

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-7.0.0.beta26 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta25 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta24 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta23 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta22 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta21 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta20 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta19 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta18 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta17 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta16 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta15 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta14 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta13 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta12 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta11 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta10 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta9 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta8 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.0.beta7 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua