Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Apisix
Commits
c5395ce6
Commit
c5395ce6
authored
6 years ago
by
Yuansheng Wang
Browse files
Options
Download
Email Patches
Plain Diff
bugfix: disabled some feature under MAC OS X.
parent
08cf2700
master
2.10.1.1
apt_up
dependabot/github_actions/actions/checkout-3.0.2
dependabot/github_actions/actions/checkout-3.1.0
dependabot/github_actions/actions/setup-node-3.1.1
dependabot/github_actions/actions/setup-node-3.4.0
dependabot/github_actions/actions/setup-node-3.4.1
dependabot/maven/t/lib/dubbo-backend/dubbo-backend-provider/org.apache.httpcomponents-httpclient-4.5.13
etcd-v2
fix-chaos-etcd
moonming-patch-1
moonming-patch-2
moonming-patch-3
moonming-patch-4
next
patch-1
release/2.10
release/2.11
release/2.12
release/2.13
release/2.14
release/2.15
release/2.3
release/2.4
release/2.5
release/2.6
release/2.7
release/2.8
release/2.9
release/2.99
release/3.0
v0.6
v0.7
v0.8
v0.9
v1.0
v1.1
v1.2
v1.3
v1.4
v1.4.1
v1.5
v1.5_old
v2.1
v2.2
v2.3
3.0.0
2.99.0
2.15.1
2.15.0
2.14.1
2.14.0
2.13.3
2.13.2
2.13.1
2.13.0
2.12.1
2.12.0
2.11.0
2.10.5
2.10.4
2.10.3
2.10.2
2.10.1
2.10.0
2.9
2.8
2.7
2.6
2.5
2.4
2.3
2.2
2.1
2.0
1.5
1.4.1
1.4
1.3
1.2
1.1
1.0
0.9-RC1
v0.9
v0.8
v0.7
v0.6-rc0
v0.5
v0.4.1
v0.4
v0.3
v0.3-1
v0.2
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cli/apisix.lua
+1
-1
cli/apisix.lua
lua/apisix.lua
+5
-1
lua/apisix.lua
with
6 additions
and
2 deletions
+6
-2
cli/apisix.lua
+
1
-
1
View file @
c5395ce6
...
...
@@ -6,7 +6,7 @@ local ngx_tpl = [=[
master_process on;
worker_processes auto;
worker_cpu_affinity auto;
#
worker_cpu_affinity auto;
error_log logs/error.log error;
pid logs/nginx.pid;
...
...
This diff is collapsed.
Click to expand it.
lua/apisix.lua
+
5
-
1
View file @
c5395ce6
...
...
@@ -14,7 +14,11 @@ local _M = {version = 0.1}
function
_M
.
init
()
require
(
"resty.core"
)
require
(
"ngx.re"
).
opt
(
"jit_stack_size"
,
200
*
1024
)
if
require
(
"ffi"
).
os
==
"Linux"
then
require
(
"ngx.re"
).
opt
(
"jit_stack_size"
,
200
*
1024
)
end
require
(
"jit.opt"
).
start
(
"minstitch=2"
,
"maxtrace=4000"
,
"maxrecord=8000"
,
"sizemcode=64"
,
"maxmcode=4000"
,
"maxirconst=1000"
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help