Skip to content

Commit

Permalink
Fix websocket deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinchan authored and jansupol committed Oct 2, 2024
1 parent d0c6f63 commit c2179ba
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ public void onStartup(Set<Class<?>> classes, final ServletContext ctx) throws Se
return;
}

if (ctx.getAttribute(ServerContainer.class.getName()) != null) {
// Already initialized
return;
}

classes.removeAll(FILTERED_CLASSES);

final Integer incomingBufferSize = getIntContextParam(ctx, TyrusHttpUpgradeHandler.FRAME_BUFFER_SIZE);
Expand Down

0 comments on commit c2179ba

Please sign in to comment.