diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2013-05-30 17:47:14 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2013-05-30 17:47:14 +0100 |
commit | 06577dd4ae4c5261c9ba544311bcb8723b20a8f1 (patch) | |
tree | 426d8693604ce6ea296c4f9c10d531e3439a9985 /src/rabbit_event.erl | |
parent | 22280a1f1a1c716805a58b75e50d9f6e3df43f74 (diff) | |
download | rabbitmq-server-06577dd4ae4c5261c9ba544311bcb8723b20a8f1.tar.gz |
Use os:timestamp/0
Diffstat (limited to 'src/rabbit_event.erl')
-rw-r--r-- | src/rabbit_event.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rabbit_event.erl b/src/rabbit_event.erl index a91a9916..3d71b58d 100644 --- a/src/rabbit_event.erl +++ b/src/rabbit_event.erl @@ -141,8 +141,6 @@ notify_if(true, Type, Props) -> notify(Type, Props); notify_if(false, _Type, _Props) -> ok. notify(Type, Props) -> - %% TODO: switch to os:timestamp() when we drop support for - %% Erlang/OTP < R13B01 gen_event:notify(?MODULE, #event{type = Type, props = Props, - timestamp = now()}). + timestamp = os:timestamp()}). |