Terra Tauri

Results 47 comments of Terra Tauri

I found the issue, it's due to this block of code: ``` javascript // If there's no element after 100ms, it didn't work. This check is for Safari 5.1 //...

Yeah, I agree on avoiding UA strings -- but for a hack I thought it might be okay. If I think of something better I'll let you know. I'll submit...

Hi @tfheen! Thanks a lot for the report. I am not able to reproduce this on the example dashboard in a new project. The code you're referring to predates my...

No worries on the delay - such is life with open source! Thanks for the debug info, I'm still confused how we end up with half open connections inside `settings.connections`....

> Where are you seeing that? https://github.com/Smashing/smashing/blob/master/lib/dashing/app.rb#L141-L14 When you call `send_event` it is blowing up because one of the connections is invalid - but all jobs should see the same...

... and / or I could just add some exception handling into the `SCHEDULER` instance that forces jobs to be restarted. That's probably a good idea also and really easy...

Yeah, we are definitely breaking # 4 in this list here :) http://blog.ifyouseewendy.com/blog/2016/02/16/ruby-concurrency-in-practice/

Ah, also - Unicorn is a mutli-process model vs. Thin which is a multithreaded model: https://www.toptal.com/ruby/ruby-concurrency-and-parallelism-a-practical-primer That also seems highly related to why concurrency bugs are more likely...

So - in conclusion, Dashing was always a bit risky with it's connection pooling. It essentially relied on EventMachine in subtle ways to mostly ensure (through adhoc side-effects) that concurrent...

Thanks for the offer, but I'm just going to sledgehammer this whole class of problem. PR with fix should come in later today.