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.1.24 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.23 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.22 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.21 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.20 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.19 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.18 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.17 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.16 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.15 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.14 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.13 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.12 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.11 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.10 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.8 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.0.13 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.7 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.6 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua
sidekiq-unique-jobs-7.1.5 lib/sidekiq_unique_jobs/lua/shared/_current_time.lua