Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Timeout setting is not being Accepted #183

@jcua

Description

@jcua

In the Raven 2.0.3 docs, there is a parameter called 'timeout'. But when I tried to set this value, the raven client is not accepting it.

I am setting the timeout like this.

client = Client(
  servers=['http://sentry.local/api/store/'],
  public_key='public_key',
  secret_key='secret_key',
  project=1, 
  timeout=10,

)

And if I look at raven/base.py, I see this which seems to suggest that the timeout parameter cannot be set in the above config.

if kwargs.get('timeout') is not None:
        warnings.warn('The ``timeout`` option no longer does anything. Pass the option to your transport instead.')

And I tried to pass this config in the transport (I did something like this on the dsn) and it does not work as well...

http://xxx:yyy@sentry.server.url/project_id?timeout=10

But if I change raven/conf/defaults.py (TIMEOUT), raven accepts this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions