Skip to content

Commit

Permalink
Move relay to port 5333 to avoid collisions (#1716)
Browse files Browse the repository at this point in the history
* Move relay to port 5333 to avoid collisions
* Ignoring type checking for .last_token because it is present in EnhancedAST...

Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
  • Loading branch information
sl0thentr0py and antonpirker committed Nov 2, 2022
1 parent e2674d4 commit d196a43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/init_serverless_sdk.py
Expand Up @@ -21,7 +21,7 @@
def extension_relay_dsn(original_dsn):
dsn = Dsn(original_dsn)
dsn.host = "localhost"
dsn.port = 3000
dsn.port = 5333
dsn.scheme = "http"
return str(dsn)

Expand Down
2 changes: 1 addition & 1 deletion sentry_sdk/integrations/pure_eval.py
Expand Up @@ -116,7 +116,7 @@ def start(n):
return (n.lineno, n.col_offset)

nodes_before_stmt = [
node for node in nodes if start(node) < stmt.last_token.end
node for node in nodes if start(node) < stmt.last_token.end # type: ignore
]
if nodes_before_stmt:
# The position of the last node before or in the statement
Expand Down

0 comments on commit d196a43

Please sign in to comment.