You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Com. Alibaba. Nacos. Sys. File. WatchFileCenter# registerWatcher registerWatcher methods recorded in the WATCH the number of jobs is the actual number of recorded call registerWatcher method
#4415
Closed
haojiawei111 opened this issue
Dec 6, 2020
· 2 comments
· Fixed by #4469
Describe the bug
A clear and concise description of what the bug is.
Com. Alibaba. Nacos. Sys. File. WatchFileCenter# registerWatcher
The NOW_WATCH_JOB_CNT variable in method registerWatcher actually records the number of watchdirjobs or the number of FileWatcher, but NOW_WATCH_JOB_CNT currently records the number of calls to method registerWatcher.
This is not consistent with the original intent of creating the NOW_WATCH_JOB_CNT variable.
Expected behavior
The NOW_WATCH_JOB_CNT variable should be added one when putting WatchDirJob or when calling addSubscribe
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
Com. Alibaba. Nacos. Sys. File. WatchFileCenter# registerWatcher
The NOW_WATCH_JOB_CNT variable in method registerWatcher actually records the number of watchdirjobs or the number of FileWatcher, but NOW_WATCH_JOB_CNT currently records the number of calls to method registerWatcher.
This is not consistent with the original intent of creating the NOW_WATCH_JOB_CNT variable.
Expected behavior
The NOW_WATCH_JOB_CNT variable should be added one when putting WatchDirJob or when calling addSubscribe
The text was updated successfully, but these errors were encountered: