You are currently browsing legacy 5.0 version of documentation. Click here to switch to the newest 5.1 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Configuration: Patching Options

Patching.MaxStepsForScript

The maximum number of statements a script can execute before throwing a Jint.Runtime.StatementsCountOverflowException.

  • Type: int
  • Default: 10000
  • Scope: Server-wide or per database

Patching.MaxNumberOfCachedScripts

The maximum number of JavaScript scripts to be cached.

  • Type: int
  • Default: 2048
  • Scope: Server-wide or per database

Patching.StrictMode

Enables strict mode in the JavaScript engine.

  • Type: bool
  • Default: true
  • Scope: Server-wide or per database