Skip to content

Commit

Permalink
Merge pull request #932 from ayeshLK/main
Browse files Browse the repository at this point in the history
Fix issue with Hub listener not starting properly
  • Loading branch information
ayeshLK authored Jul 12, 2024
2 parents 4566676 + 3c79009 commit eb28fd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions load-tests/in_memory_hub/src/start_hub.bal
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import ballerina/websubhub;
import in_memory_hub.dispatcher;
import ballerina/lang.runtime;

public function main() returns error? {
// Initialize the Hub
Expand All @@ -24,4 +25,5 @@ public function main() returns error? {
websubhub:Listener hubListener = check new(9090);
check hubListener.attach(hubService, "hub");
check hubListener.'start();
runtime:registerListener(hubListener);
}

0 comments on commit eb28fd2

Please sign in to comment.