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
I found this code crossbar.worker.main while reading and studying crossbar source code, is there a duplicate in the following code ?
# set process title if requested to#try:
importsetproctitleexceptImportError:
log.debug("Could not set worker process title (setproctitle not installed)")
else:
ifoptions.title:
setproctitle.setproctitle(options.title)
else:
setproctitle.setproctitle('crossbar-worker [{}]'.format(options.klass))
# node directory#options.cbdir=os.path.abspath(options.cbdir)
os.chdir(options.cbdir)
# log.msg("Starting from node directory {}".format(options.cbdir))# set process title if requested to#try:
importsetproctitleexceptImportError:
log.debug("Could not set worker process title (setproctitle not installed)")
else:
ifoptions.title:
setproctitle.setproctitle(options.title)
else:
setproctitle.setproctitle('crossbar-worker [{}]'.format(options.klass))
The text was updated successfully, but these errors were encountered:
I found this code
crossbar.worker.main
while reading and studying crossbar source code, is there a duplicate in the following code ?The text was updated successfully, but these errors were encountered: