Comments (3)
I agree wholeheartedly. This was cryptically circumventing our unit testing. Get rid of it.
It's also worth noting that returning 0
as the exit code from a global error handler is a pretty bad idea since it gives no indication to any process monitoring it that anything failed.
from node-export-server.
Firstly, sorry for the delay in addressing this.
I agree that it's bad practice.
Unfortunately it's the only way I've found that consistently terminates the Phantom-processes, both on error conditions and on normal exists.
I've added a compromise until a better solution can be found: setting listenToProcessExits
to false
in the the initPool
config object will skip attaching the event listeners to the process.
Beware though that this may lead to zombie processes both if the service crashes, and when it's exited normally.
from node-export-server.
Thanks a lot. This compromise works for me. Looks good.
from node-export-server.
Related Issues (20)
- Export with a fill (background color) of 'none' results in black background HOT 9
- Axis label is not getting translated as per selected lang options HOT 2
- Unable to setup export server in node application with npm package highcharts-export-server v3.0.3 and above HOT 1
- Stacked columns render as a single pixel on export HOT 1
- Is .env file in root is now ignored? HOT 3
- Unable to setup on Ubuntu Server 22.04 HOT 3
- Stop creation of log and tmp folder HOT 9
- Add a `mapChart` constructor to the UI HOT 1
- unable to export variable-pie chart type throwing error HOT 2
- Chart renders in 2 different layouts (random) HOT 1
- Inquiry Regarding Enhancement Request HOT 1
- Styled mode svg export while using as server, no css applied at all HOT 4
- Error: ENOENT: no such file or directory, open '/app/dist//../templates/template.html' HOT 1
- Inject css variables using nodejs module HOT 2
- chart rendering breaks around 5000 x-Axis data points HOT 9
- Font missing in export.highcharts.com HOT 6
- Docker file for V4 HOT 4
- The Google fonts are not installed on the production server HOT 1
- The width and height are only taken from sourceHeight HOT 1
- column chart export https://export.highcharts.com/ 500 error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-export-server.