Skip to content

Commit 3285368

Browse files
authored
Add maxRuntime option (#645)
* Add maxRuntime * Update CHANGELOG.md
1 parent 6aee695 commit 3285368

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- Added `maxRuntime` option to `db.query` method
13+
1014
### Fixed
1115

1216
- Replaced `linkedlist` dependency with `x3-linkedlist` ([#601](https://github.com/arangodb/arangojs/issues/601))

src/database.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export type QueryOptions = {
6262
batchSize?: number;
6363
cache?: boolean;
6464
memoryLimit?: number;
65+
maxRuntime?: number;
6566
ttl?: number;
6667
timeout?: number;
6768
options?: {

0 commit comments

Comments
 (0)