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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.5.3
    • Fix Version/s: 6.5.4
    • Component/s: None
    • Labels:
      None

      Description

      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);
      	}
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: