question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add an option to turn off `ow` in production

See original GitHub issue

Describe the feature Add either an env var, configuration option or some other way of turning off ow validations to improve performance. Maybe we could just turn it off if NODE_ENV=production

Motivation The validations are sometimes pretty slow.

Constraints Since we only validate public APIs, it shouldn’t have any impact on stack traces in production.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
mnmkngcommented, May 5, 2022

Yeah, I was not complaining about the speed of the library 😇 More making a further argument that we should probably turn off the validations in production.

0reactions
matjaeckcommented, Oct 26, 2022

Why is this additional validation tool needed in a TypeScript project?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disable a Trigger in a production environment - Salesforce Help
Retrieve the trigger metadata using Workbench. · Unzip the retrieved metadata folder. · In the triggername.trigger-meta.xml file change the status from Active to ......
Read more >
How to Turn Off Swagger-ui in Production - Baeldung
Using Spring Profiles. In Spring, we can use the @Profile annotation to enable or disable the injection of beans. This forces us to...
Read more >
Why You Should Disable GraphQL Introspection In Production
In this post, we'll discuss why we believe you should disable GraphQL introspection in production, how to do it, and present a way...
Read more >
How to disable functions in Azure Functions - Microsoft Learn
Use the Enable and Disable buttons on the function's Overview page. These buttons work by changing the value of the AzureWebJobs.<FUNCTION_NAME> ...
Read more >
Control when app changes are published with managed ...
The changes listed can include updates to how your app is distributed on Google Play, such as the addition of new countries/regions to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found