Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make prepare_syncer track its duration

  • Loading branch information...
commit f29e792cdfc7b458a833912bcb1dfce24584e494 1 parent a78fe93
@dhruvbansal dhruvbansal authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/wukong-deploy/extensions/prepare_syncer.rb
View
2  lib/wukong-deploy/extensions/prepare_syncer.rb
@@ -19,7 +19,7 @@ def after_sync
success: success?,
step: 'prepare',
files: files,
- })
+ }.tap { |e| e[:duration] = duration if duration })
Wukong::Deploy.vayacondios_client.set!(vayacondios_topic, "prepare.last", { state: (success? ? 1 : 0), time: Time.now.utc.to_i })
end
Please sign in to comment.
Something went wrong with that request. Please try again.