You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration/dtable-events-conf.md
+15-42Lines changed: 15 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,30 +24,22 @@ In the default values below, a value in the form `$XYZ` refers to an environment
24
24
25
25
Other configuration files are not used, if you run dtable-events separately.
26
26
27
-
The following options are grouped by their sections.
28
-
29
-
## Example configuration
27
+
!!! note "Configurations in dtable-events.conf`"
30
28
31
-
This is a typical configuration file, created automatically on the first startup by SeaTable.
29
+
Since SeaTable 5.3, by default, you can start the dtable-events service without adding any configurations to `dtable-events.conf`, as the the key startup configurations (i.e. *MySQL* and *Redis*) are already configured in the environment variables by default (i.e., `.env`). On the other hand, you can also add other dtable-events service related configurations to `dtable-events.conf`, which mainly contains some sections and their options:
30
+
31
+
- Section names in `dtable-events.conf` compose of **uppercase** and **spaces** (such as `[COMMON DATASET SYNCER]`).
32
+
- Option names will be mainly **lowercase** with **underscores** (such as `per_update_auto_rule_workers`).
32
33
33
-
```ini
34
-
[DATABASE]
35
-
type = mysql
36
-
host = mariadb
37
-
port = 3306
38
-
username = root
39
-
password = topsecret
40
-
db_name = dtable_db
41
-
42
-
[REDIS]
43
-
host = redis
44
-
port = 6379
45
-
```
34
+
The following options are grouped by their sections.
46
35
47
36
## Available configuration options
48
37
49
38
### `[DATABASE]`
50
39
40
+
??? success "Database can configure in .env"
41
+
From SeaTable 5.3, you can specify the database configurations in [`.env`](./environment-variables.md#table-of-settings).
|`enabled`| Enables or disables the email notifications for base updates | true |
77
72
78
-
### `[NOTIFY-SCANNER]`
79
-
80
-
**disabled** by default.
81
-
82
-
Notification rules are a feature that allows users to set criteria for a base and receive notifications when these criteria are met.
83
-
This runs a daily job at midnight to clean up inactive notification rules. Rules that have not been triggered for 180 days or were created but never triggered are marked as invalid.
|`per_minute_trigger_limit`| To maintain server stability, SeaTable includes a feature that restricts the frequency of automation rule executions | 50 |
99
82
|`per_update_auto_rule_workers`| Number of worker threads used for processing automation rule events | 3 |
100
83
101
-
### `[COMMON-DATASET-SYNCER]`
84
+
### `[COMMONDATASETSYNCER]`
102
85
103
86
**enabled** by default.
104
87
@@ -108,7 +91,7 @@ SeaTable runs every hour this event to check for pending dataset syncs. The job
0 commit comments