Is anyone experiencing LONG compiling time when us...
# avo-2
n
Is anyone experiencing LONG compiling time when using Dokku and Digital Ocean? Mine is taking a reallly long time to compile and push the new version... 😭
l
What do you mean compile?
n
So I'm using Dokku for app deployment.
to digital ocean. And for some reason, it's been extremely slow, I mean it takes 40-50 minutes to compile on the digital ocean server. I have other rails apps with similar assets that don't take that much, let alone almost an hour.
so I'm troubleshooting the issue, and I was wondering if maybe somebody in the community knew anything about. And I apologize if it may not be related to AVO.
l
I use dokku too. On AWS. I deployed twoce today but definitely didn’t take 30-40 minutes
n
Oh sweet! Yeah, and it was not like that before. I'm not sure where the bottleneck is...
l
Try adding some ‘puts’ statements in some rake tasks that hook into different stages of the deploy
Then watch the deploy logs
Then, you at least know the steps where it hangs
n
I read that it may be related to fontawesome and
collapse_vars
l
Or maybe the logs have timestamps?
n
l
Unrelated, but esbuild rocks!
If you don’t have any advanced webpack needs, the migfation to esbuild shouldn’t be that difficult
n
I really don't so I'll check it out!
Thanks!
l
Yeah, a recent migration I did took about 2-3 hours. Esbuild and tailwindcss-rails
7 Views