Weeknotes: 11th November 2019
This week I streamlined our CSV upload process.
That’s actually a Very Good Pun, because I used PHP Streams in the implementation. The full upload process takes time (about 15 minutes), so would normally be timed out by one of PHP, nginx or the load balancer. To avoid the timeout, I regularly send progress data to the stream and keep the connection alive.
- Implemented the above-mentioned rewrite of the CSV upload.
- Configured PHPStan to analyse any files changed in a PR, and fail the build if there are errors.
- Attended a Justice Services (OPG, LAA, CICA) away day, which was a great opportunity to learn about each others work and how we could work together.