diff --git a/lib/scan.js b/lib/scan.js index 8ade8e2b..4c701d5e 100644 --- a/lib/scan.js +++ b/lib/scan.js @@ -308,7 +308,7 @@ function Scan (client, ns, set, options) { * Note that the TTL value will be employed ONLY on background scan writes. * @member {number} Scan#ttl */ - this.ttl = 0 + this.ttl = options.ttl } /**