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

Add CustomModule for RPC and Http. #396

Merged
merged 3 commits into from
Jul 10, 2024
Merged

Conversation

holmes1412
Copy link
Contributor

@@ -41,6 +41,8 @@ class HttpMetricsModule : public MetricsModule
bool server_begin(SubTask *task, RPCModuleData& data) override;
};

using HttpCustomModule = MetricsModule;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里好像不太对。

@holmes1412 holmes1412 force-pushed the master branch 3 times, most recently from 9284ae6 to fbffa2f Compare July 4, 2024 15:23
src/rpc_server.h Outdated
{
if (!module->server_task_begin(server_task, *task_data))
{
status_code = RPCStatusModuleFilterFailed;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里也缩进太多层了。

@Barenboim Barenboim merged commit abeac13 into sogou:master Jul 10, 2024
3 checks passed
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.

None yet

2 participants