You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

disable_notifications()

Usage

disable_notifications()

Description
Temporarily disables the Websocket Broadcast notifications for the Structr Backend UI. This method can be used to prevent the broadcasting of large modification operations which greatly reduces the processing time for such large operations. If you experience very slow (i.e. more than 10 seconds) object creation, modification or deletion, try to disable notifications before executing the operation. See also enable_notifications().

Note

This can be done on a per-request basis by sending the custom HTTP header Structr-Websocket-Broadcast with a value of disabled along with the request.

Search results for "disable_notifications()"

disable_notifications()

Temporarily disables the Websocket Broadcast notifications for the Structr Backend UI. This method can be used to prevent the broadcasting of large modification operations which greatly reduces the processing time for such large operations. If you experience very slow (i.e. more than 10 seconds) object creation, modification or deletion, try to disable notifications before executing the operation. See also enable_notifications().

disable_notifications()