Browse Source

Stop cacheo de queries para no sobrecargar ram

Christian 3 years ago
parent
commit
7cdee4f1c2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      application/models/Parser_model.php

+ 2 - 1
application/models/Parser_model.php View File

24
     public function __construct()
24
     public function __construct()
25
     {
25
     {
26
         parent::__construct();
26
         parent::__construct();
27
+        $this->db->save_queries = false;
27
     }
28
     }
28
 
29
 
29
     public function inicioParser()
30
     public function inicioParser()
71
 
72
 
72
     public function setInicioLicitacion($licitacionArr)
73
     public function setInicioLicitacion($licitacionArr)
73
     {
74
     {
74
-        $this->db->insert('BRUTO_datos_iniciales', $licitacionArr);
75
+        $this->db->insert('bruto_datos_iniciales', $licitacionArr);
75
         return $this->db->insert_id();
76
         return $this->db->insert_id();
76
     }
77
     }
77
 
78