Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

replace use of now() with os:timestamp()

  • Loading branch information...
commit 8b4a75fff5d929ec22e6cdefbc110fa6983201b1 1 parent 154024e
authored March 04, 2013

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  include/folsom.hrl
6  include/folsom.hrl
@@ -34,7 +34,7 @@
34 34
           window = ?DEFAULT_SLIDING_WINDOW,
35 35
           size = ?DEFAULT_SIZE,
36 36
           reservoir = folsom_metrics_histogram_ets:new(folsom_slide_uniform,[set, {write_concurrency, true}, public]),
37  
-          seed = now(),
  37
+          seed = os:timestamp(),
38 38
           server
39 39
          }).
40 40
 
@@ -42,7 +42,7 @@
42 42
           size = ?DEFAULT_SIZE,
43 43
           n = 1,
44 44
           reservoir = folsom_metrics_histogram_ets:new(folsom_uniform,[set, {write_concurrency, true}, public]),
45  
-          seed = now()
  45
+          seed = os:timestamp()
46 46
          }).
47 47
 
48 48
 -record(exdec, {
@@ -50,7 +50,7 @@
50 50
           next = 0,
51 51
           alpha = ?DEFAULT_ALPHA,
52 52
           size = ?DEFAULT_SIZE,
53  
-          seed = now(),
  53
+          seed = os:timestamp(),
54 54
           n = 1,
55 55
           reservoir = folsom_metrics_histogram_ets:new(folsom_exdec,[ordered_set, {write_concurrency, true}, public])
56 56
          }).

0 notes on commit 8b4a75f

Please sign in to comment.
Something went wrong with that request. Please try again.