c# - RavenDB Changes API Time out -


i handling changes in ravendb database code:

_documentstore.changes( "databasename" ).foralldocuments()     .subscribe( change =>     {         using ( var session = _documentstore.opensession( "databasename" ) )         {             var obj = session.load<object>( change.id );            //deal changed object         }     } ); 

but reason after period of inactivity (i have not been able measure how long precisely, 15-20 minutes), stops sending updates. don't receive exception, after restarting application, runs fine. there sort of time out need set? or there else might cause this?

it bug in ravendb fixed while ago. build running?


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -