Typedef

WatchdogConfig (watchdog)

@ckeditor/ckeditor5-watchdog/src/watchdog

typedef
Object

The watchdog plugin configuration.

Filtering

Properties

  • crashNumberLimit : Number

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

    Defaults to 3

  • minimumNonErrorTimePeriod : Number

    An average number of milliseconds between the last watched item 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 item. This prevents an infinite restart loop.

    Defaults to 5000

  • saveInterval : Number

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

    Defaults to 5000