Truxton consolidate depots

From truxwiki.com
Jump to navigation Jump to search

This will send a message to the maintenance ETL to go through closed depots and merge the smaller ones into the larger ones. What you will be left with is few very large depot files instead of many smaller ones.

Syntax

uint32_t truxton_consolidate_depots( uint64_t truxton_handle );

Parameters

truxton_handle

The handle created by the truxton_create call.

Return value

Zero if the message could not be sent to the maintenance queue, non-zero if the message was successfully sent.

Sample

void perform_a_really_long_maintenance_task( uint64_t truxton )
{
   if ( truxton_consolidate_depots( truxton ) != 0 )
   {
      printf( "Message sent to consolidate depots\n" );
   }
}