Skip to content

Commit

Permalink
Added options support for scan
Browse files Browse the repository at this point in the history
Added options support for scan
  • Loading branch information
DomPeliniAerospike committed Aug 14, 2023
1 parent dad8577 commit 04607a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scan.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

/**
Expand Down

0 comments on commit 04607a2

Please sign in to comment.