[DiscordArchive] how it is right now it just goes through the table and returns the tickets with the players guid rig
[DiscordArchive] how it is right now it just goes through the table and returns the tickets with the players guid rig
Archived author: Nix • Posted: 2023-01-12T01:08:41.389000+00:00
Original source
Unless you argue semantics about function local scope vs file global scope
Archived author: Crow • Posted: 2023-01-12T01:08:43.656000+00:00
Original source
yeah ok so where did i call a global
Archived author: Nix • Posted: 2023-01-12T01:08:46.145000+00:00
Original source
But I don't know anyone who refers to it as such
Archived author: Crow • Posted: 2023-01-12T01:08:54.119000+00:00
Original source
I was certain i "localized" them all
Archived author: Foe • Posted: 2023-01-12T01:09:01.951000+00:00
Original source
On 1, you can always push updates to the db using async executes with no callback as well as update your local cache, doesn't really have any performance impact and prevents data loss
Archived author: Nix • Posted: 2023-01-12T01:09:03.429000+00:00
Original source
Yeah my pointers was just in general
Archived author: Crow • Posted: 2023-01-12T01:09:14.232000+00:00
Original source
oh ok
Archived author: Foe • Posted: 2023-01-12T01:09:17.230000+00:00
Original source
You only ever really need to cache your data once, and memory is cheap
Archived author: Crow • Posted: 2023-01-12T01:09:41.975000+00:00
Original source
yeah the only time I load the database was when a player wanted to check their tickets so I call it from the database into the table on login and thats also why i remove it from the table on logout
Archived author: Crow • Posted: 2023-01-12T01:09:54.957000+00:00
Original source
because I figured loading it from the DB in gossip is cancer