Changeset - 8f9ccca43d05
[Not reviewed]
default
0 1 0
lordofwar - 16 years ago 2009-07-15 11:30:24

adjusted blend_frame_watchdog function, fixed amount of time for watchdog_forgiveness var
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -311,13 +311,13 @@ return your_frame; // your_frame is retu
 
void blend_frame_watchdog(struct blendjob *blendjob_head)
 
{
 
  unsigned short int watchdog_forgiveness; /*< seconds to wait on a frame before re-assigning it */
 
  struct blendjob *blendjob_ptr;
 
  unsigned int counter;
 

	
 
  watchdog_forgiveness = 3 * 60 * 60; /*< 3hr in seconds */
 
  watchdog_forgiveness = 3; /*< hours of forgiveness before frame is re-assigned */
 
  blendjob_ptr = blendjob_head;
 

	
 
  for(blendjob_ptr = blendjob_head; blendjob_ptr; blendjob_ptr = blendjob_ptr->next)
 
    /* iterate through jobs */
 

	
 
    for(counter = 0; counter < blendjob_ptr->total_frames; counter ++)
0 comments (0 inline, 0 general)