[ https://issues.apache.org/jira/browse/BEAM-13479?focusedWorklogId=698834&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-698834 ]
ASF GitHub Bot logged work on BEAM-13479: ----------------------------------------- Author: ASF GitHub Bot Created on: 20/Dec/21 17:12 Start Date: 20/Dec/21 17:12 Worklog Time Spent: 10m Work Description: pabloem commented on pull request #16278: URL: https://github.com/apache/beam/pull/16278#issuecomment-998117776 LGTM -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 698834) Time Spent: 2h 20m (was: 2h 10m) > [Playground] Change logic with Cancel method. > --------------------------------------------- > > Key: BEAM-13479 > URL: https://issues.apache.org/jira/browse/BEAM-13479 > Project: Beam > Issue Type: Improvement > Components: beam-playground > Reporter: Aydar Zaynutdinov > Assignee: Pavel Avilov > Priority: P3 > Labels: beam-playground-backend, beam-playground-beta-launch > Time Spent: 2h 20m > Remaining Estimate: 0h > > Now server call method as a goroutine to check cancel flag. > When the Cancel() method is called the cancel flag is set to the cache as a > true. > Need: > * Set false flag as a default value before calling the Process method. > * Change the logic of the cancelCheck() method. Now it checks that the flag > cancel exists and after that returns from the method and stops goroutine. > Need to change this logic and return from the method in case the cancel flag > is true. -- This message was sent by Atlassian Jira (v8.20.1#820001)