My 2018 Mac mini developed this problem on the latest Catalina about 10 days ago, and Photos was not updating on this device, but was on my MacBook Pro, iPad and iPhone. Tried an OS re-install using Recovery Mode which fixed it for a couple of days. Then tried the Repair Library utility and Photos has been back to working fine again for 3 days now.