mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-07 00:55:21 +00:00
d284dcfc22
Intercepts provide the ability to easily and efficiently intercept function calls. Giving the ability to change the code being executed as well as affect local and global state.
9 lines
227 B
Erlang
9 lines
227 B
Erlang
-module(hashtree_intercepts).
|
|
-compile(export_all).
|
|
-include("intercept.hrl").
|
|
|
|
sleep_update_perform(State) ->
|
|
?I_INFO("sleeping update_perform 60s\n"),
|
|
timer:sleep(60000),
|
|
hashtree_orig:update_perform_orig(State).
|