Skip to content
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

Merged

Conversation

marcpiechura
Copy link
Contributor

The JVM version has this two properties which I need in the ActorSystemSpec.

/// <summary>
/// Returns the time in milliseconds since the epoch
/// </summary>
private static long MillisecondsSinceEpoch()
Copy link
Contributor Author

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?

Copy link
Member

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.

@marcpiechura
Copy link
Contributor Author

@Aaronontheweb @rogeralsing updated

@rogeralsing
Copy link
Contributor

LGTM, I'm restarting the multi node tests before merge

@Aaronontheweb
Copy link
Member

I'm going to fix that racy one soon, now that I have better logs

@Aaronontheweb
Copy link
Member

@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?

@marcpiechura marcpiechura force-pushed the Implemented_StartTime_and_Uptime branch 2 times, most recently from 509ca3d to 9fa300c Compare January 14, 2016 08:25
@@ -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) { }
Copy link
Contributor Author

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.

@marcpiechura
Copy link
Contributor Author

@Aaronontheweb updated

@marcpiechura
Copy link
Contributor Author

It's working on my machine 😉
image

@marcpiechura marcpiechura force-pushed the Implemented_StartTime_and_Uptime branch from 9fa300c to 896134e Compare January 18, 2016 16:01
@marcpiechura
Copy link
Contributor Author

Fixed Api approve test.

Aaronontheweb added a commit that referenced this pull request Jan 18, 2016
@Aaronontheweb Aaronontheweb merged commit 78cb513 into akkadotnet:dev Jan 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants