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-8.0.10 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.33 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.32 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-8.0.9 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-8.0.8 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-8.0.7 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-8.0.6 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.31 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-8.0.5 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-8.0.4 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.30 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-8.0.3 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-8.0.2 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-8.0.1 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-8.0.0 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.29 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.28 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.27 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.26 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.25 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua