lorca icon indicating copy to clipboard operation
lorca copied to clipboard

Golang part stops responding to javascript after some (variable) amount of time

Open SimonShapiro opened this issue 4 years ago • 1 comments

I don't know if anyone else has observed this. I use svelte for the front-end following the template on gihub. Everything is fine, but after some time, which I cannot determine, the golang code stops responding to calls from the javscript code.

I am keeping global state in golang using Mutex locks.

Could it have something to do with the fact that lorca is based on devtools?

I use yarn build followed by ./app on MacOs.

Any ideas?

SimonShapiro avatar Jan 11 '22 18:01 SimonShapiro

My app times out after 10 minutes in test mode (go test) with no activity. Running normally, it stays up.

Tom Young47 MITCHELL ST.STAMFORD, CT 06902

When bad men combine, the good must associate; ... -Edmund Burke 'Thoughts on the cause of the present discontents' , 1770

On Tue, Jan 11, 2022 at 1:29 PM SimonShapiro @.***> wrote:

I don't know if anyone else has observed this. I use svelte for the front-end following the template on gihub. Everything is fine, but after some time, which I cannot determine, the golang code stops responding to calls from the javscript code.

I am keeping global state in golang using Mutex locks.

Could it have something to do with the fact that lorca is based on devtools?

I use yarn build followed by ./app on MacOs.

Any ideas?

— Reply to this email directly, view it on GitHub https://github.com/zserge/lorca/issues/166, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKX7ZTKTV5O4BYPOYKHKQTUVRZI3ANCNFSM5LXARGYA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

tyoung3 avatar Jan 12 '22 16:01 tyoung3