Skip to content

Commit

Permalink
chore: add language identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
brnhensley committed May 29, 2023
1 parent bc6fec4 commit e65fbf8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ redirects:

## Syntax

```
```py
newrelic.agent.register_application(name=None, timeout=None)
```

Expand Down Expand Up @@ -98,7 +98,7 @@ Returns an application object that can be used by some other Python agent API ca

This example registers a non-web background task with a long timeout. Typically, for a web application, you would have a very short time-out (the default is 0), but you might set a longer timeout for a infrequent non-web task to ensure initialization and registration take place.

```
```py
import newrelic.agent

newrelic.agent.initialize('newrelic.ini')
Expand Down

0 comments on commit e65fbf8

Please sign in to comment.