Skip to content

Commit

Permalink
RDoc-2566 Added default values
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielle9897 committed Jan 31, 2024
1 parent b90d011 commit 728447d
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
},
{
"Path": "/common",
"Name": "Common",
"Name": "Common Operations",
"Mappings": []
},
{
"Path": "/maintenance",
"Name": "Maintenance",
"Name": "Maintenance Operations",
"Mappings": []
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,17 +260,21 @@ DeleteByQueryOperation DeleteByQueryOperation<TEntity, TIndexCreator>(
public class QueryOperationOptions
{
// Indicates whether operations are allowed on stale indexes.
// DEFAULT: false
public bool AllowStale { get; set; }
// If AllowStale is set to false and index is stale,
// then this is the maximum timeout to wait for index to become non-stale.
// If timeout is exceeded then exception is thrown.
// DEFAULT: null (if index is stale then exception is thrown immediately)
public TimeSpan? StaleTimeout { get; set; }
// Limits the number of base operations per second allowed.
// DEFAULT: no limit
public int? MaxOpsPerSecond
// Determines whether operation details about each document should be returned by server.
// DEFAULT: false
public bool RetrieveDetails { get; set; }
// Ignore the maximum number of statements a script can execute.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,17 @@ const session = store.openSession();
// options object
{
// Indicates whether operations are allowed on stale indexes.
// DEFAULT: false
allowStale, // boolean

// If AllowStale is set to false and index is stale,
// then this is the maximum timeout to wait for index to become non-stale.
// If AllowStale is set to false and index is stale,
// then this is the maximum timeout to wait for index to become non-stale.
// If timeout is exceeded then exception is thrown.
staleTimeout, // number
// DEFAULT: null (if index is stale then exception is thrown immediately)
staleTimeout, // number

// Limits the number of base operations per second allowed.
// Limits the number of base operations per second allowed.
// DEFAULT: null (no limit)
maxOpsPerSecond, // number
}
//endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
},
{
"Path": "/common",
"Name": "Common",
"Name": "Common Operations",
"Mappings": []
},
{
"Path": "/maintenance",
"Name": "Maintenance",
"Name": "Maintenance Operations",
"Mappings": []
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
},
{
"Path": "/common",
"Name": "Common",
"Name": "Common Operations",
"Mappings": []
},
{
"Path": "/maintenance",
"Name": "Maintenance",
"Name": "Maintenance Operations",
"Mappings": []
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
},
{
"Path": "/common",
"Name": "Common",
"Name": "Common Operations",
"Mappings": []
},
{
"Path": "/maintenance",
"Name": "Maintenance",
"Name": "Maintenance Operations",
"Mappings": []
},
{
Expand Down

0 comments on commit 728447d

Please sign in to comment.