Commit 3e0cf0aabc6271a703388be52626ff7786feb19b
1 parent
2c9760b6
Exists in
master
and in
63 other branches
Static class properties are initialized at compile time
Showing
1 changed file
with
5 additions
and
2 deletions
Show diff stats
src/InputOutput/WSImpl/Config/WSConfigClass.php
... | ... | @@ -11,7 +11,7 @@ class WSConfigClass |
11 | 11 | const ORBIT = "getorbites"; |
12 | 12 | const DATASET = "getdataset"; |
13 | 13 | |
14 | - public static $timeToBatchMode = 10; | |
14 | + public static $timeToBatchMode = 300; | |
15 | 15 | public static $enableBatch = true; |
16 | 16 | public static $file_prefix = "result_"; |
17 | 17 | public static $timeLimitQuery = 600; // secs |
... | ... | @@ -22,12 +22,15 @@ class WSConfigClass |
22 | 22 | private static $wsResultDir = "WSRESULT"; |
23 | 23 | private static $jobsFile = "WSjobs.xml"; |
24 | 24 | |
25 | - private static $WebUrl = webAlias."data/"; | |
25 | + private static $WebUrl; | |
26 | 26 | |
27 | 27 | private static $dataSetInfoDir = "LocalData/DataSetInfo"; |
28 | 28 | |
29 | 29 | public static function getUrl() |
30 | 30 | { |
31 | + //self::$WebUrl = "http://apus.irap.omp.eu/NEWAMDA/data/"; | |
32 | + self::$WebUrl = webAlias."/data/"; | |
33 | + | |
31 | 34 | return self::$WebUrl.self::$wsResultDir.'/'; |
32 | 35 | } |
33 | 36 | ... | ... |