Skip to content

Commit e3383bd

Browse files
committed
doc: fix some typo.
1 parent 93aafa5 commit e3383bd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,9 +1585,9 @@ exit_worker_by_lua_block
15851585

15861586
**phase:** *exiting-worker*
15871587

1588-
Runs the specified Lua code upon every Nginx worker process's exit when the master process is enabled. When the master process is disabled, this hook will before run Nginx process exiting.
1588+
Runs the specified Lua code upon every Nginx worker process's exit when the master process is enabled. When the master process is disabled, this hook will run before the Nginx process exits.
15891589

1590-
This hook is ogten used to release resources allocated by each worker (e.g. resources allocated by [init_worker_by_lua*](#init_worker_by_lua)), or to prevent workers from exiting abnormally.
1590+
This hook is often used to release resources allocated by each worker (e.g. resources allocated by [init_worker_by_lua*](#init_worker_by_lua)), or to prevent workers from exiting abnormally.
15911591

15921592
For example,
15931593

doc/HttpLuaModule.wiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,9 +1285,9 @@ This hook no longer runs in the cache manager and cache loader processes since t
12851285
12861286
'''phase:''' ''exiting-worker''
12871287
1288-
Runs the specified Lua code upon every Nginx worker process's exit when the master process is enabled. When the master process is disabled, this hook will before run Nginx process exiting.
1288+
Runs the specified Lua code upon every Nginx worker process's exit when the master process is enabled. When the master process is disabled, this hook will run before the Nginx process exits.
12891289
1290-
This hook is ogten used to release resources allocated by each worker (e.g. resources allocated by [[#init_worker_by_lua|init_worker_by_lua*]]), or to prevent workers from exiting abnormally.
1290+
This hook is often used to release resources allocated by each worker (e.g. resources allocated by [[#init_worker_by_lua|init_worker_by_lua*]]), or to prevent workers from exiting abnormally.
12911291
12921292
For example,
12931293

0 commit comments

Comments
 (0)