Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pr #573

Merged
merged 4 commits into from
Feb 10, 2017
Merged

Pr #573

merged 4 commits into from
Feb 10, 2017

Conversation

hqwrong
Copy link
Contributor

@hqwrong hqwrong commented Feb 10, 2017

  1. snaxd interface 支持定制loader(增加这个功能是因为我需要在加载snax的时候就把服务所在目录加到loader路径里,而不是load完后再加。)

  2. snax 加载patch文件时的Env用_Env而不是空表

  3. snax hotfix 递归的patch_func.

比如考虑如下场景:

local lobster

local function bar()
-- ...
local _ = lobster -- reference lobster here
-- .....
end

function response.foo()
-- ...
bar()
-- ...
end

这里我要热更新bar函数,需要让bar函数join老的lobster,之前那样是办不到的。

@cloudwu cloudwu merged commit 521a387 into cloudwu:master Feb 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants