Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
1139-use-timeout-value-infinity-for-gen_server-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1139-use-timeout-value-infinity-for-gen_server-calls-in-c.patch of Package erlang
From 7eaa428d4e77ce451f74b67761c7c2c8dd9fe9cb Mon Sep 17 00:00:00 2001 From: Anupama Singh <anupamasingh31@gmail.com> Date: Thu, 15 Dec 2022 15:03:36 +0100 Subject: [PATCH] use timeout value infinity for gen_server calls in cth_log_redirect --- lib/common_test/src/cth_log_redirect.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/common_test/src/cth_log_redirect.erl b/lib/common_test/src/cth_log_redirect.erl index abcf26151d..a4f24c5e7d 100644 --- a/lib/common_test/src/cth_log_redirect.erl +++ b/lib/common_test/src/cth_log_redirect.erl @@ -180,7 +180,7 @@ add_log_category(#{meta:=Meta}=Log,Category) -> Log#{meta=>Meta#{?MODULE=>#{category=>Category}}}. do_log(Log,Config) -> - gen_server:call(?MODULE,{log,Log,Config}). + gen_server:call(?MODULE,{log,Log,Config},infinity). handle_cast(_, State) -> {noreply,State}. @@ -254,13 +254,13 @@ terminate(_Arg, _State) -> ok. set_curr_func(CurrFunc, Config) -> - gen_server:call(?MODULE, {set_curr_func, CurrFunc, Config}). + gen_server:call(?MODULE, {set_curr_func, CurrFunc, Config}, infinity). set_log_func(Func) -> - gen_server:call(?MODULE, {set_logfunc, Func}). + gen_server:call(?MODULE, {set_logfunc, Func}, infinity). handle_remote_events(Bool) -> - gen_server:call(?MODULE, {handle_remote_events, Bool}). + gen_server:call(?MODULE, {handle_remote_events, Bool}, infinity). %%%----------------------------------------------------------------- -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor