local z=10000 local s={RECORD_SCOPE="\108\121\114\097\047\114\101\099\111\114\100\115",TX_SCOPE="\108\121\114\097\047\116\120",SHARD_SCOPE="\108\121\114\097\047\115\104\097\114\100\115",LOCK_SCOPE="\108\121\114\097\047\108\111\099\107\115",MAX_CHUNK_SIZE=4000000-z,LOCK_REFRESH_INTERVAL_SECONDS=60,LOCK_DURATION_SECONDS=90,LOCK_ACQUIRE_ATTEMPTS=8,AUTOSAVE_INTERVAL_SECONDS=300}return s
--!strict

local INTERNAL_SPACE_RESERVE_BYTES = 10_000

local Constants = {
	RECORD_SCOPE = "lyra/records",
	TX_SCOPE = "lyra/tx",
	SHARD_SCOPE = "lyra/shards",
	LOCK_SCOPE = "lyra/locks",
	MAX_CHUNK_SIZE = 4_000_000 - INTERNAL_SPACE_RESERVE_BYTES,
	LOCK_REFRESH_INTERVAL_SECONDS = 60,
	LOCK_DURATION_SECONDS = 90,
	LOCK_ACQUIRE_ATTEMPTS = 8,
	AUTOSAVE_INTERVAL_SECONDS = 5 * 60,
}

return Constants
