/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk

« back to all changes in this revision

Viewing changes to classes/request.php

  • Committer: Suren A. Chilingaryan
  • Date: 2019-08-29 01:22:18 UTC
  • Revision ID: csa@suren.me-20190829012218-xpk95b521hgpfq6x
Fix low server-based parallelism

Show diffs side-by-side

added added

removed removed

Lines of Context:
410
410
        throw new ADEIException(translate("The data source server is not specified"));
411
411
 }
412
412
 
 
413
 function GetServers($flags = 0) {
 
414
    $srvlist = $this->GetServerList($flags);
 
415
 
 
416
    $list = array();
 
417
    foreach ($srvlist as $srvid => &$srv) {
 
418
        $db = $this->props['db_name'];
 
419
        $list[$srvid] = array(
 
420
            'db_server' => $srvid,
 
421
        );
 
422
    }
 
423
 
 
424
    return new REQUESTList($this->props, $list, "REQUEST");
 
425
 }
 
426
 
413
427
 function GetSources($flags = 0) {
414
428
    global $READER_DB;
415
429