Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

Commit

Permalink
Merge pull request #121 from Nicole00/v2.5.0
Browse files Browse the repository at this point in the history
cherrypick to v2.5
  • Loading branch information
Nicole00 authored Aug 5, 2021
2 parents 4d4bb7a + 2c95a5a commit 6a1a0e1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ object Exchange {
batchSuccess,
batchFailure)
processor.process()
val costTime = ((System.currentTimeMillis() - startTime) / 1000).formatted("%.2f")
val costTime = ((System.currentTimeMillis() - startTime) / 1000.0).formatted("%.2f")
LOG.info(
s"data source count: ${count}, " +
s"import for tag ${tagConfig.name} cost time: ${costTime} s")
Expand Down Expand Up @@ -194,7 +194,7 @@ object Exchange {
batchFailure
)
processor.process()
val costTime = ((System.currentTimeMillis() - startTime) / 1000).formatted("%.2f")
val costTime = ((System.currentTimeMillis() - startTime) / 1000.0).formatted("%.2f")
LOG.info(
s"data source count: ${count}, " +
s"import for edge ${edgeConfig.name} cost time: ${costTime} s")
Expand All @@ -220,7 +220,7 @@ object Exchange {
val startTime = System.currentTimeMillis()
val processor = new ReloadProcessor(data, configs, batchSuccess, batchFailure)
processor.process()
val costTime = ((System.currentTimeMillis() - startTime) / 1000).formatted("%.2f")
val costTime = ((System.currentTimeMillis() - startTime) / 1000.0).formatted("%.2f")
LOG.info(s"reimport ngql count: ${count}, cost time: ${costTime}")
LOG.info(s"batchSuccess.reimport: ${batchSuccess.value}")
LOG.info(s"batchFailure.reimport: ${batchFailure.value}")
Expand Down

0 comments on commit 6a1a0e1

Please sign in to comment.