Comments (2)
That's because res.json
doesn't stop the rest of the function from executing. All it does is send some JSON down the response pipe. You'll need to add a return inside the if block, if you want it to stop there.
from restmail.net.
grr. now I can't repro. I assume this was something like, forever restartall
failed to let go of the redis port, the new process couldn't connect, barfed and set db to null, and on we went.
doing post-update
a couple of times seems to have fixed this. I'll still file a bug to fix the res.json funk. thanks for the input @seanmonstar
from restmail.net.
Related Issues (18)
- Case sensitivity HOT 4
- Update website to link the mozilla/restmail.net, not lloyd/restmail.net HOT 5
- Hosting and Deployment of restmail.net HOT 1
- restmail.net SSL cert has expired HOT 4
- CORS Support HOT 2
- https://restmail.net/mail/<user> does not return any JSON HOT 2
- Email subject appears twice in email json HOT 2
- Sometimes emails arrive to wrong email boxes HOT 4
- restmail.net is down HOT 18
- restmail.net returns a 503 HOT 1
- Seeing Restmail timeouts after 60 seconds, in mozillians-tests builds HOT 7
- limit uses of restmail.net HOT 7
- CODE_OF_CONDUCT.md file missing
- Travis CI free usage ends Dec 3; mozilla repos should switch to other CI platforms HOT 1
- redis acts like a db, not a cache HOT 1
- database can grow until you run out of memory HOT 3
- Add open source software license
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 restmail.net.