Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Blake Niemyjski
@niemyjski
ah
if you aren’t calling useFolderStorage or useIsolatedStorage then no,
it won’t per persisted if the app crashes
we do have code that looks at process close but if it’s a web app I don’t think we can do anything
maybe we could wire up to app domain unload?
unloading
Sander Rijken
@srijken
so if I configure folder storage in the config, will that fix it?
Blake Niemyjski
@niemyjski
yeah
and it supports |DataDirectory|
Sander Rijken
@srijken
is there a delay before it starts processing the queue?
because I see the queue filling, but nothing coming in
Blake Niemyjski
@niemyjski
@sharathsatish how’s the migration coming along?
10 seconds
unless you call processqueue
then it’s immediate
Sander Rijken
@srijken
async/await doesn’t really improve readibility of stack huh
Sander Rijken
@srijken
looks like I fixed the bug, which is a good thing
strange is that after calling ProcessQueue, there’s still 900 items in the queue folder
Eric J. Smith
@ejsmith
nope, async makes call stacks suck.
I wish they would do something about that.
they can recognize the pattern and transform it.
Sander Rijken
@srijken
like the async checkbox in chrome dev tools
Eric J. Smith
@ejsmith
yes, I’ve seen tools that will do it.
Roslyn should be able to do it.
Eric J. Smith
@ejsmith
ugh, so we need to do some awaits inside of Dispose… I was just using async void knowing that it would be fire and forget and it was mostly working...
but it seems that it doesn’t always get executed.
if I change to use .Wait() it deadlocks.
yay
Sander Rijken
@srijken
what’s the deal with .json and .json.x in the queue?
x is being processed?
Eric J. Smith
@ejsmith
yeah, its a lock
Sander Rijken
@srijken
hmm I still see queue dir filling, and .x things appearing, and nothing new in exceptionless at the site
Eric J. Smith
@ejsmith
queue is getting stuck?
Sander Rijken
@srijken
dunno yet
Sander Rijken
@srijken
enabled logging.. but no logfile
Eric J. Smith
@ejsmith
This on the .net client?
Sander Rijken
@srijken
yes
Eric J. Smith
@ejsmith
Did you enable logging and set it to use the file logger?
Sander Rijken
@srijken
nevermind
Eric J. Smith
@ejsmith
?
Sander Rijken
@srijken
I just set logPath
Eric J. Smith
@ejsmith
So you got it to work?
Sander Rijken
@srijken
I’m sure if I add enableLogging=“true” it’ll work
sometimes I feel so stupid :)
Eric J. Smith
@ejsmith
Setting the log path and not having enableLogging false should turn it on automatically. But it might not be doing that.
Haha i know that feeling.
Sander Rijken
@srijken
well the wiki tells me to add enableLogging=“true” as well
Eric J. Smith
@ejsmith
Async deadlocks make me feel really dumb
Sander Rijken
@srijken
yeah
well.. async makes me feel dumb