Typedef

WatchdogConfig (watchdog)

@ckeditor/ckeditor5-watchdog/src/watchdog

typedef
Object

The watchdog plugin configuration.

Filtering

Properties

  • crashNumberLimit : Number

    A threshold specifying the number of editor crashes when the watchdog stops restarting the editor in case of errors. After this limit is reached and the time between last errors is shorter than minimumNonErrorTimePeriod the watchdog changes its state to crashedPermanently and it stops restarting the editor. This prevents an infinite restart loop.

    Defaults to 3

  • minimumNonErrorTimePeriod : Number

    An average amount of milliseconds between last editor errors (defaults to 5000). When the period of time between errors is lower than that and the crashNumberLimit is also reached the watchdog changes its state to crashedPermanently and it stops restarting the editor. This prevents an infinite restart loop.

    Defaults to 5000

  • saveInterval : Number

    A minimum number of milliseconds between saving editor data internally, (defaults to 5000). Note that for large documents this might have an impact on the editor performance.

    Defaults to 5000