Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
message-service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 208f1120
authored
2020-07-15 20:34:20 -0300
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
se cambia el limite de envio para tolerar mejor el limite de envio
1 parent
e05a6b80
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
process.py
process.py
View file @
208f112
...
...
@@ -55,7 +55,7 @@ class Process:
# manda todos los mensajes no enviados
def
send
(
self
):
rows
=
self
.
conn
.
query
(
"SELECT * FROM msg WHERE state = ?"
,(
States
.
queued
,))
rows
=
self
.
conn
.
query
(
"SELECT * FROM msg WHERE state = ?
ORDER BY id DESC LIMIT 10
"
,(
States
.
queued
,))
for
query
in
DBconnection
.
parseToTable
(
rows
):
# si no existe la carpeta borrar el mensaje
if
not
os
.
path
.
exists
(
query
[
Table
.
path
]):
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment