Skip to content

stackimpact python agent is causing threading issues  #4

Open
@ByReaL

Description

@ByReaL

archlinux python 3.6 x64

self._socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self._socket.connect((address, port))
self._socket.setblocking(1)
..... etc etc

all works fine
as soon as i add right at the top of the script

agent = stackimpact.start(
agent_key = '...............................',
app_name = 'abc.connect')

my app tries to send stuff before it finished receiving and so on and it all goes south.
when my app is supposed to have a serial behavior, send receive send more receive send receive.. no parallel stuff and definitely not send before it finished receiving.

is there any way to run stackimpact in an app that uses socket lib ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions