Skip to content

Commit

Permalink
将 'interval' 配置项修改为从环境变量 'CONFD_INTERVAL' 获取值,默认为 1
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed Jan 14, 2025
1 parent da86636 commit 16e3419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/confd/publish/confd.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@
],

// Watch interval
'interval' => 1,
'interval' => (int) env('CONFD_INTERVAL', 1),
];

0 comments on commit 16e3419

Please sign in to comment.