Org Web Adapter

journals/2020_06_30.org

ID
32774c10-8914-4a02-9273-bea13ffdfafb

2020-06-30 - Tuesday

Journal

- Note taken on

We lost power last night. Strangely, I had gone to bed a little after 1 so it was a pretty brief window. The power was back on by 7:30 when I got up. Nevermind that I only slept for six hours.

When I went to check on Rhea, the server had come back up just fine, but none of my services were running. Checking the server, Caddy was up, but responses were giving SSL errors. I took Caddy down and discovered that the server was still responding over the HTTP port. So something else was running. Turns out Nginx was configured and running and apparently it boots faster than Caddy :) ... so Caddy couldn't bind to port and Nginx was returning nonsense response. Killed Nginx, uninstalled it and now we're all good.

Tasks

DONE Feed [[id:00b7467f-98cd-48a4-9a20-1389adfa4517][Chickens]], move [[id:65df7d4f-9b64-4c2f-85e2-f26d9eb9385e][Chicken Tractor]], get [[id:2b8f8b07-21a8-4837-8e9e-7058dddc2ff9][Goats]] outside today

CLOSED: SCHEDULED:

DONE Weed around peppers and basil in the [[id:3ea75a43-44f1-455d-bdda-e995f602cd5d][Garden]]

CLOSED: SCHEDULED:

DONE Review PRs

CLOSED:

DONE Track down why user import is still slow in [[id:82548add-c3c0-4909-912c-db0023439752][ENG-10691]]

CLOSED:

- Note taken on

After struggling with this for a while and having a genius idea to refactor the way we create users in the bulk import functions by gathering all the data and inserting users in bulk, Andrii discouraged me from that. Back to the drawing board, I discovered the actual problem comes primarily from one function that's responsible for adding users to groups. It make 56 queries per user, which results in 2800 queries!

DONE [[id:524e3b70-161b-4173-8ee7-a43d725d7273][Running]] 10 [[id:acc626d4-d423-433c-9428-0ac3b5cfc725][Easy Miles]]

CLOSED: SCHEDULED:

Meetings

DONE [[id:ac376401-a8b9-45c5-ab1a-4a77837bd03c][Partnership Squad Engineering Stand-up]]

CLOSED:

DONE [[id:b65e138c-6942-4c26-8c90-48a8b8e808b6][Selectboard meeting]]

CLOSED: SCHEDULED:

ZOOM
https://zoom.us/j/2042208848?pwd=SEVuR3pvSlZ6ZHAvNTBKR1pldW45dz09
PASSWORD
Castine