Skip to content

Commit 0e4e14d

Browse files
kbadksapk
andauthored
Replace references to cron.update_migration_post_id with cron.update_migration_poster_id in docs (#11068)
Across several files, references to cron.update_migration_post_id are made, although the actual setting is called cron.update_migration_poster_id according to modules/setting/cron.go (https://github.com/go-gitea/gitea/blob/10e2f291442fdc7efc31c02f5ffcba79a36db9ac/modules/setting/cron.go#L54). Co-authored-by: Antoine GIRARD <[email protected]>
1 parent d66b9a4 commit 0e4e14d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

custom/conf/app.ini.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ SCHEDULE = @every 24h
853853
UPDATE_EXISTING = true
854854

855855
; Update migrated repositories' issues and comments' posterid, it will always attempt synchronization when the instance starts.
856-
[cron.update_migration_post_id]
856+
[cron.update_migration_poster_id]
857857
; Interval as a duration between each synchronization. (default every 24h)
858858
SCHEDULE = @every 24h
859859

docs/content/doc/advanced/config-cheat-sheet.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ NB: You must `REDIRECT_MACARON_LOG` and have `DISABLE_ROUTER_LOG` set to `false`
541541
- `RUN_AT_START`: **true**: Run repository statistics check at start time.
542542
- `SCHEDULE`: **@every 24h**: Cron syntax for scheduling repository statistics check.
543543

544-
### Cron - Update Migration Poster ID (`cron.update_migration_post_id`)
544+
### Cron - Update Migration Poster ID (`cron.update_migration_poster_id`)
545545

546546
- `SCHEDULE`: **@every 24h** : Interval as a duration between each synchronization, it will always attempt synchronization when the instance starts.
547547

docs/content/doc/advanced/config-cheat-sheet.zh-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ test01.xls: application/vnd.ms-excel; charset=binary
225225
- `RUN_AT_START`: 是否启动时自动运行仓库统计。
226226
- `SCHEDULE`: 仓库统计时的Cron 语法,比如:`@every 24h`.
227227

228-
### Cron - Update Migration Poster ID (`cron.update_migration_post_id`)
228+
### Cron - Update Migration Poster ID (`cron.update_migration_poster_id`)
229229

230230
- `SCHEDULE`: **@every 24h** : 每次同步的间隔时间。此任务总是在启动时自动进行。
231231

0 commit comments

Comments
 (0)