rupanshu

About

Username
rupanshu
Joined
Visits
14
Last Active
Roles
Member

Comments

  • i have provision to launch a separate process that receives the ticks, other than the main thread in a django app server. hence, i am not blocking the process in any sense that receives the ticks.
  • 1 token generation program is already in place which generates it and pushes it to REDIS PUBSUB and other services subscribe to it. 2 "submitting a message to the broker queue" is done by the new thread that is executed. it is a processing thread. i…
  • i used Threaded=true in the ticker library. but still the same behaviour. before starting the new connection i am invalidating the previous accessToken also.
  • def on_ticks(ws, tick): # noqa x = threading.Thread(target=processTicks, args=(tick,)) x.start() def on_connect(ws, response): instrument_tokens = instrument_token_list() logger.info( "Connection response: {}. Receiving ti…