diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-16 16:20:13 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-16 16:20:13 -0700 |
commit | b100cb211161d1014dfaa1ab532f1670c699e80d (patch) | |
tree | 48b9191e793391f87e9fe5399d6ddf966040c184 /src/main/java/org/traccar/api/AsyncSocketServlet.java | |
parent | b47eca7a90438e738eb1486664717cccc277865f (diff) | |
download | trackermap-server-b100cb211161d1014dfaa1ab532f1670c699e80d.tar.gz trackermap-server-b100cb211161d1014dfaa1ab532f1670c699e80d.tar.bz2 trackermap-server-b100cb211161d1014dfaa1ab532f1670c699e80d.zip |
Improve web injection
Diffstat (limited to 'src/main/java/org/traccar/api/AsyncSocketServlet.java')
-rw-r--r-- | src/main/java/org/traccar/api/AsyncSocketServlet.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/api/AsyncSocketServlet.java b/src/main/java/org/traccar/api/AsyncSocketServlet.java index 317ec469e..7c532179b 100644 --- a/src/main/java/org/traccar/api/AsyncSocketServlet.java +++ b/src/main/java/org/traccar/api/AsyncSocketServlet.java @@ -24,9 +24,11 @@ import org.traccar.config.Keys; import org.traccar.session.ConnectionManager; import javax.inject.Inject; +import javax.inject.Singleton; import javax.servlet.http.HttpSession; import java.time.Duration; +@Singleton public class AsyncSocketServlet extends JettyWebSocketServlet { private final ObjectMapper objectMapper; |