Commit c30ae4bccdd5668e26fcb4c49abdab9f7dfeac3e
1 parent
d4c4b793
Exists in
master
and in
1 other branch
adicionando linha para liberar a memoria do php. Sem ela dá problema no
módulo em bases de dados grandes
Showing
1 changed file
with
6 additions
and
4 deletions
Show diff stats
rn/MdEstatisticasAgendamentoRN.php
1 | 1 | <? |
2 | 2 | require_once dirname(__FILE__) . '/../../../SEI.php'; |
3 | 3 | |
4 | +ini_set('memory_limit', '-1'); | |
5 | + | |
4 | 6 | class MdEstatisticasAgendamentoRN extends InfraRN |
5 | 7 | { |
6 | 8 | |
... | ... | @@ -19,7 +21,7 @@ class MdEstatisticasAgendamentoRN extends InfraRN |
19 | 21 | |
20 | 22 | $this->gravarLog('Autenticar no WebService'); |
21 | 23 | if (!$enviar->autenticar()) { |
22 | - throw new InfraException('Problemas com a autenticação.'); | |
24 | + throw new InfraException('Problemas com a autenticação.'); | |
23 | 25 | } |
24 | 26 | |
25 | 27 | $this->gravarLog('Autenticado. Coletando indicadores'); |
... | ... | @@ -39,7 +41,7 @@ class MdEstatisticasAgendamentoRN extends InfraRN |
39 | 41 | |
40 | 42 | $this->gravarLog('Indicadores recebidos. Coletar indicadores do tipo lista'); |
41 | 43 | |
42 | - $this->gravarLog('Obter a data do último envio das quantidades de acessos '); | |
44 | + $this->gravarLog('Obter a data do último envio das quantidades de acessos '); | |
43 | 45 | $data = $enviar->obterUltimoAcesso(); |
44 | 46 | $this->gravarLog('Ultima data das quantidades de acessos: ' . $data . '. Coletar quantidade de acessos'); |
45 | 47 | |
... | ... | @@ -52,7 +54,7 @@ class MdEstatisticasAgendamentoRN extends InfraRN |
52 | 54 | $this->gravarLog('Coletado. Enviar: '); |
53 | 55 | $enviar->enviarVelocidades($velocidades, $id); |
54 | 56 | |
55 | - $this->gravarLog('Enviado. Coletar os sistemas operacionais dos usuários: '); | |
57 | + $this->gravarLog('Enviado. Coletar os sistemas operacionais dos usuários: '); | |
56 | 58 | $sistemasOperacionaisUsuarios = $coletor->obterSistemasOperacionaisUsuarios(); |
57 | 59 | $this->gravarLog('Coletado. Enviar: '); |
58 | 60 | $enviar->enviarSistemasUsuarios($sistemasOperacionaisUsuarios, $id); |
... | ... | @@ -82,7 +84,7 @@ class MdEstatisticasAgendamentoRN extends InfraRN |
82 | 84 | InfraDebug::getInstance()->setBolLigado(false); |
83 | 85 | InfraDebug::getInstance()->setBolDebugInfra(false); |
84 | 86 | InfraDebug::getInstance()->setBolEcho(false); |
85 | - throw new InfraException('Erro processando estatísticas do sistema.', $e); | |
87 | + throw new InfraException('Erro processando estatÃsticas do sistema.', $e); | |
86 | 88 | } |
87 | 89 | |
88 | 90 | } | ... | ... |