Thank you Pontus for the sample :) I did some digging around and looks like if I call pool right before calling collect, it seems to work. I think there may be something incorrect about the way "commit" is used in the code.
Regards, Kashyap On Wed, Aug 28, 2019 at 7:17 AM Pontus Näslund <pontus.nasl...@gmail.com> wrote: > Hi, > > it's my code so I should know but I haven't run this since I wrote it > > I'm on vacation so I can't easily test it but it sounds like either > 'collect or persistence is failing, have you tried exploring your DB from > REPL? > > Best regards, > > On Wed, 28 Aug 2019, 14:32 C K Kashyap, <ckkash...@gmail.com> wrote: > >> Hi, >> I was trying out the guestbook example here - >> https://dev.to/cess11/lets-build-a-picolisp-guestbook-mkl I noticed that >> the changes to the DB only get affected across sessions only after restart >> the service. I mean, I add some data in a browser session and it shows up >> at the bottom as expected, however, they disappear if I revisit the site >> from another tab. >> I would really appreciate it if someone could point out what's going on. >> Regards, >> Kashyap >> >