Replies: 4 comments 3 replies
-
@unlinking , you might want to take a look at #1164. I has the same question back in Dec, and sadly received no help after many attempts so I moved on (still rooting for solid on the sideline though). |
Beta Was this translation helpful? Give feedback.
-
Same question here -- where to import background tasks so they are not lazy loaded, somewhere that works in both dev and production. |
Beta Was this translation helpful? Give feedback.
-
Can you put the code in @rolanday I did respond eventually to #1164 but I realize it took a while (3 months). Most people were incapable of answering your question at the time, and those who were, were focused on building out the features, including figuring out the answer to the question. |
Beta Was this translation helpful? Give feedback.
-
Hi Ryan, thanks for your attention. When I put the code into In my personal use-case, I'm experimenting with an app that contains a local cache using SQLite for an outside database. Populating this cache can take up to 15 seconds or so and I'd prefer it done on first startup -- so by the time the first request comes in, cache is already primed and ready. Obviously I could refactor this step into a separate process, but would prefer not to, to keep the system simple. |
Beta Was this translation helpful? Give feedback.
-
How does SolidStart execute certain tasks on the server side upon startup, such as background scheduled tasks, similar to using an instrumentation file in NestJS for configuration?
Beta Was this translation helpful? Give feedback.
All reactions