Переезд на java 13
This commit is contained in:
@@ -12,13 +12,14 @@ import ru.serega6531.packmate.model.pojo.SubscriptionMessage;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class StreamSubscriptionService {
|
||||
|
||||
private List<WebSocketSession> subscribers = new ArrayList<>();
|
||||
private List<WebSocketSession> subscribers = Collections.synchronizedList(new ArrayList<>());
|
||||
|
||||
private final ObjectMapper mapper;
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ spring:
|
||||
hibernate:
|
||||
temp:
|
||||
use_jdbc_metadata_defaults: false
|
||||
database-platform: org.hibernate.dialect.PostgreSQLDialect
|
||||
|
||||
|
||||
enable-capture: true
|
||||
|
||||
Reference in New Issue
Block a user