-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented StarTime and Uptime #1617
Implemented StarTime and Uptime #1617
Conversation
/// <summary> | ||
/// Returns the time in milliseconds since the epoch | ||
/// </summary> | ||
private static long MillisecondsSinceEpoch() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this maybe moved into Utils?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should use the methods we have in the MonotonicClock
under utils and see if that suits your needs here. If it doesn't, then yes you should move this into a utility class in that namespace.
c124c46
to
21a3e22
Compare
@Aaronontheweb @rogeralsing updated |
LGTM, I'm restarting the multi node tests before merge |
I'm going to fix that racy one soon, now that I have better logs |
@Silv3rcircl3 this will need to be rebased on dev due to #1639 being merged in. Bear in mind you'll need to run the unit tests locally first to generate a new .approved.txt file per the new process we're using to control how the public API gets modified. I outlined this here: http://getakka.net/docs/akka-developers/public-api-changes Could you give that a try? |
509ca3d
to
9fa300c
Compare
@@ -3765,7 +3767,7 @@ namespace Akka.Routing | |||
} | |||
public class DefaultResizer : Akka.Routing.Resizer, System.IEquatable<Akka.Routing.DefaultResizer> | |||
{ | |||
public DefaultResizer(int lower, int upper, int pressureThreshold = 1, double rampupRate = 0.2, double backoffThreshold = 0.3, double backoffRate = 0.1, int messagesPerResize = 10) { } | |||
public DefaultResizer(int lower, int upper, int pressureThreshold = 1, double rampupRate = 0,2, double backoffThreshold = 0,3, double backoffRate = 0,1, int messagesPerResize = 10) { } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The diff marked this also as failure, doesn't know why but have changed it.
@Aaronontheweb updated |
9fa300c
to
896134e
Compare
Fixed Api approve test. |
…Uptime Implemented StarTime and Uptime
The JVM version has this two properties which I need in the ActorSystemSpec.