3 ms·
On Android devices, it’s generally difficult for apps to maintain persistent background services. I’m curious how you were able to prevent Android from terminat
by _R_ 1y ago
On Android devices, it’s generally difficult for apps to maintain persistent background services. I’m curious how you were able to prevent Android from terminating the process, and how the Pixel 5 server managed to keep running?
- cinimodev 1y agoIt runs inside Termux, which has a persistent notification to keep it open in the background. I believe I also extended the max phantom process to prevent it from being killed.
- indigodaddy 1y agoIs your nginx proxy also caching the site? If so then that is probably contributing to the site stability under the HN load I would think?
- cinimodev 1y agoIt is not. Somehow the sticks and bubblegum are holding together.
- indigodaddy 1y agoWow even more impressive then..
- leidenfrost 1y agoQuestion, why are you glad you didnt go for the PostmarketOS route? Do you think it's not worth it? Or that android is better in any way? Just curious
- cinimodev 1y agoThe Pixel device I have is from a family member and it is locked to Verizon, who won't unlock the bootloader. I'm sure there's a work around, but I didn't think it was worth the effort. PostmarketOS is rad though, I have it running on an ancient Windows Surface RT.