Copy Handler Community Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 04, 2012, 03:02:22 PM

Login with username, password and session length
Search:     Advanced search
SMF - Just Installed!
333 Posts in 116 Topics by 457 Members
Latest Member: JessLynn27
* Home Forum Help Search Login Register
+  Copy Handler Community Forum
|-+  CH Development
| |-+  CH coding discussion
| | |-+  Custom feature: auto start small jobs
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Custom feature: auto start small jobs  (Read 4920 times)
mdbbe
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 12


View Profile
« on: April 22, 2008, 01:08:30 PM »

After a lot of digging in the code, I've made my first custom feature!  Grin

It has always annoyed me that I had to 'force start' very small tasks when a large task is busy. I used to solve this by unregistering the ext while large tasks were busy.

File: ch/MainWnd.cpp
Line: 989
Code:
//auto start small jobs (smaller than 10Mb)
if(pTask->GetAllSize()<10485760){
   pTask->SetContinueFlag(true);
}


If you think this could be a useful feature for other people too, maybe you can make the tasks size configurable? So people can set it to 0 if they don't want this feature.

Logged
Ixen
Administrator
Full Member
*****

Karma: +5/-0
Offline Offline

Posts: 121



View Profile
« Reply #1 on: April 24, 2008, 08:20:44 PM »

I'll check it over the weekend and probably would include it in the next version of CH with some changes (not always the size of the task is being known at this point). I wasn't including this earlier because of the core engine that needs to be changed quite much and is one of the priorities for the next couple of versions. So expect the feature to be removed for some time when rewriting engine.

P.S. please post one topic on one board. I am removing the second one related to this topic.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.047 seconds with 20 queries. (Pretty URLs adds 0.007s, 2q)