Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

akka, akkaHttp and circe updated to latest version. #389

Merged
merged 3 commits into from Nov 19, 2020
Merged

akka, akkaHttp and circe updated to latest version. #389

merged 3 commits into from Nov 19, 2020

Conversation

semyonoskin
Copy link
Contributor

Close #388

@@ -38,7 +38,7 @@ class SyncTracker(nvsRef: ActorRef,
schedule foreach {
_.cancel()
}
schedule = Some(context.system.scheduler.schedule(2.seconds, minInterval())(nvsRef ! SendLocalSyncInfo))
schedule = Some(context.system.scheduler.scheduleWithFixedDelay(2.seconds, minInterval(),nvsRef, SendLocalSyncInfo))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to beatify code on the way, e.g.

//send SendLocalSyncInfo to NodeViewSynchronizer actor every minInterval()
val syncTask = context.system.scheduler.scheduleWithFixedDelay(2.seconds, minInterval(), nvsRef , SendLocalSyncInfo)
schedule = Some(syncTask)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@kushti
Copy link
Contributor

kushti commented Nov 18, 2020

@semyonoskin LGTM, but please address my comment

@kushti kushti merged commit 96036a0 into hyperledger-labs:master Nov 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Circe, Akka, Akka-Http to latest versions
2 participants