Comments (4)
So basically we need a backlog UI that allows marking task in another queue that fast track them ahead of the currently scheduled items? Or maybe I'm missing something..
from smf.
The Send Mail queue function essentially forces the mail queue to send by ignoring limits and other protections (except for timeout handling). So it would act the same. Say there are 5000 items in the queue, instead of slowly pushing out a few items at a time (let's say 60 items a minute), it would take almost 90 minutes to send all of it, it would just tell it to send it all now. Server performance may be impacted (just as sending the mail queue can do).
Seeing the queue and knowing how much is backlogged, can help admins know that adjustments need to be made to keep up with the queue.
from smf.
It's a good idea, although it might need some refining. Specifically, trying to create an ability to flush the queue might not make a lot of sense. As I recall, TaskRunner already tries to complete as many tasks as it can in a single run before timing out. Trying to flush the queue wouldn't do anything more than the system already does.
We may also need some new database columns to count execution attempts and such.
from smf.
Well, we need that for the mail stuff as well, so we can dump mail that isn't sending. The hack I worked into 2.1 was to work around database columns by abusing the priority column.
There is some logic though that prevents us from sending too much. Even if something is in the queue, hitting cron.php won't send it, if it just did a little while ago, at least from my basic testing.
from smf.
Related Issues (20)
- [3.0]: Can't move or place boards in desired position HOT 1
- [3.0]: Unable to load the 'Settings.' language file. HOT 4
- [3.0]: Type error on post event (Calendar)
- [3.0]: Type error on removing post
- [3.0]: Type error on splitting topic
- [3.0]: Type error on restoring topic
- [3.0]: Language files are not removed on mods deleting HOT 5
- [2.1] Obsolete code in build_query_board HOT 4
- [3.0]: Spelling mistakes or other mistakes in the language strings HOT 2
- [2.1]: Wrong Content-Disposition header being set for attachments served to mobile browsers
- [2.1, 3.0]: "Down" button not working in Recent.template.php
- [3.0]: Compilation failed: two named subpatterns have the same name (PCRE2_DUPNAMES not set) HOT 1
- [3.0]: Type Error on Search Engines area
- [3.0]n Another MessageFormatter error
- [3.0]: Cannot Like HOT 3
- Memory issue on board index with show avatars variable HOT 15
- [2.1.4]: upgrade from SMF 2.0.18 fails if the forum is in Slovenian language and UTF-8
- [3.0]: Adding columns with type = 'mediumtext' does not work HOT 1
- [2.1.4]: GMail semicolon encoding HOT 2
- problems from hard-coded storage engines
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smf.