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

Using 'OR' and 'AND' in SQL Server -

python - Finding intersection between ellipse and a line -

c++ - NetBeans Remote Development with additional configuration -