Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1913

AuResponse of stop comet server push would override the request of start in some situation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.5.4
    • 6.5.3
    • None
    • None

      When toggle server push instantly, the response of stop comet server push would override the request of start in some situation, the code snippets as shown below:

      	public static final ExecutorService EXECUTOR_SERVICE = Executors.newSingleThreadExecutor();
      
      	@Command
      	public void toggltServerPush()
      			throws InterruptedException {
      		final Desktop desktop = Executions.getCurrent().getDesktop();
      		desktop.enableServerPush(true);
      		desktop.enableServerPush(false);
      	}
      

            RaymondChao RaymondChao
            RaymondChao RaymondChao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: