Skip to content

Commit 2914a18

Browse files
committed
Complete gen_server behaviour
1 parent 04d6976 commit 2914a18

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/basho_bench_config.erl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
-export([start_link/0]).
3737

3838
% Gen server callbacks
39-
-export([code_change/3, init/1, terminate/2, handle_call/3]).
39+
-export([code_change/3, init/1, terminate/2, handle_call/3, handle_cast/2, handle_info/2]).
4040

4141
-include("basho_bench.hrl").
4242

@@ -139,6 +139,12 @@ handle_call({get, Key}, _From, State) ->
139139
Value = application:get_env(basho_bench, Key),
140140
{reply, Value, State}.
141141

142+
handle_cast(_Cast, State) ->
143+
{noreply, State}.
144+
145+
handle_info(_Info, State) ->
146+
{noreply, State}.
147+
142148
set_keys_from_files(Files) ->
143149
KVs = [ case file:consult(File) of
144150
{ok, Terms} ->

0 commit comments

Comments
 (0)