meteor/postgres-packages

Publications are not sending any data

Closed this issue · 5 comments

rclai commented

The app right now in the current state doesn't publish anything now for some reason. There's no data in the client at all and the subscriptions are ready.

I did do a meteor shell query of the join query on the list publication and appended .run() to it and saw that it returns data, but it looks like it's not able to publish the data.

I also tried to simplify the publishing query to just:

return Lists.knex().from("lists");

..with no luck.

Yeah, right now there is something finicky - have you tried refreshing the app and dropping/creating the DB again?

We're working on making it more reliable soon, I think it has to do with connection pooling or something like that.

rclai commented

I just tried dropping, re-creating and re-migrating, but it still doesn't work. I'll chill for now.

Slava commented

We have rewritten the driver, let us know if you can still observe the issue. If so, please give us more details for the reproduction (version of PG, how you run it, what you see in PG logs, etc).

rclai commented

It works now! Good job on the refactorings!

Woohoo!