summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/io/timed_cache.erl')
-rw-r--r-- | src/io/timed_cache.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/io/timed_cache.erl b/src/io/timed_cache.erl index 4c82ee8..52b98d6 100644 --- a/src/io/timed_cache.erl +++ b/src/io/timed_cache.erl @@ -53,7 +53,8 @@ add_update_to_cache (DB, Owner, ObjectID, Data) -> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% 'gen_server' functions init ({DB, ObjectID}) -> - {ok, {DB, ObjectID}}. + io:format("~nCache entry added: ~p.~n", [{DB, ObjectID}]), + {ok, {DB, ObjectID}, timed_caches_manager:get_timeout()}. handle_call (invalidate, _, State) -> {stop, normal, State}; |