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

Update rlp_03 #5

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

StrongestNumber9
Copy link
Contributor

Contains minor reordering

@@ -58,45 +84,36 @@ public static void main(String[] args) throws IOException, InterruptedException,
.build();
reporter.start(metricsInterval, TimeUnit.SECONDS);
System.out.println("Metrics are printed every " + metricsInterval + " seconds");
return new Consumer<>() {
@Override
public synchronized void accept(FrameContext frameContext) {
Copy link
Member

Choose a reason for hiding this comment

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

this be slow

plainServer(port);
return new Consumer<>() {
@Override
public synchronized void accept(FrameContext frameContext) {
Copy link
Member

Choose a reason for hiding this comment

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

unnecessary synchronized be slow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants