Skip to content

Commit

Permalink
修正一个字母大小写不正确的BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
dongasai committed Jul 4, 2018
1 parent 6ff4cb1 commit 5d4bc26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function onWorkerStart(\Swoole\Server $server, int $worker_id)
$this->cache->save('WKINIT', 1);
# 热更新
if (get_envbl('APP_CODEUPDATE', true)) {
if (get_envbl('codeUpdata_inotify', false)) {
if (get_envbl('CODEUPDATA_INOTIFY', false)) {
$this->codeUpdata_inotify();
} else {
\swoole_timer_tick(10000, [$this, 'codeUpdata']);
Expand Down

0 comments on commit 5d4bc26

Please sign in to comment.