Skip to content

Commit

Permalink
Committing some local changes to add some additional logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlyle committed Aug 18, 2018
1 parent 85d7ca2 commit e860b8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ProcessServer/ProcessServer.cpp
Expand Up @@ -343,6 +343,8 @@ int main( int argc, char ** argv )
#if !defined(_DEBUG)
if ( bRemoteUpdate && nNextUpdateCheck < Time::seconds() )
{
LOG_STATUS("ProcessServer", "Checking for remote updates.");

// check for new code update
MirrorClient mirrorClient;
if ( mirrorClient.open(
Expand All @@ -358,6 +360,8 @@ int main( int argc, char ** argv )
{
nLastCRC = nCRC;

LOG_STATUS("ProcessServer", "Synchronizing updates.");

dword nJobID = mirrorClient.syncronize();
if ( nJobID != 0 && mirrorClient.waitJob( nJobID, 86400 * 1000 ) )
{
Expand Down

0 comments on commit e860b8a

Please sign in to comment.