Skip to content

Commit

Permalink
Merge pull request #54 from tsloughter/master
Browse files Browse the repository at this point in the history
replace use of now() with os:timestamp()
  • Loading branch information
joewilliams committed Mar 4, 2013
2 parents 154024e + 8b4a75f commit 3322e75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/folsom.hrl
Expand Up @@ -34,23 +34,23 @@
window = ?DEFAULT_SLIDING_WINDOW,
size = ?DEFAULT_SIZE,
reservoir = folsom_metrics_histogram_ets:new(folsom_slide_uniform,[set, {write_concurrency, true}, public]),
seed = now(),
seed = os:timestamp(),
server
}).

-record(uniform, {
size = ?DEFAULT_SIZE,
n = 1,
reservoir = folsom_metrics_histogram_ets:new(folsom_uniform,[set, {write_concurrency, true}, public]),
seed = now()
seed = os:timestamp()
}).

-record(exdec, {
start = 0,
next = 0,
alpha = ?DEFAULT_ALPHA,
size = ?DEFAULT_SIZE,
seed = now(),
seed = os:timestamp(),
n = 1,
reservoir = folsom_metrics_histogram_ets:new(folsom_exdec,[ordered_set, {write_concurrency, true}, public])
}).
Expand Down

0 comments on commit 3322e75

Please sign in to comment.