push eventdd-pardal/esmBot-video
commit sha 8d7cdde37ecef59b263c3e89d231bd66d6c6d8bd
Add libavfilter command and improved control over FFmpeg's resource usage
push time in 2 months
push eventdd-pardal/esmBot-video
commit sha 8e121a381fcb55eedda23d2f6091cf0c7e365fad
Add libavfilter command and improved control over FFmpeg's resource usage
push time in 2 months
push eventdd-pardal/esmBot-video
commit sha e915e67839b429d50611f027f8e713d3bd1e82d9
Add video support to the caption and meme commands
commit sha c46051816e048881096fb95b754110ac112fcc2c
Extract number parsing code to new function This also changes the multipliers.
commit sha 931de5d3b54c35928b9e7b296842c3ab9c3848f1
Add libavfilter command and improved control over FFmpeg's resource usage
push time in 2 months
push eventdd-pardal/esmBot-video
commit sha 6746b5123c7133dc15bcd1cbf0fda7fe7656652f
Add video support to the caption and meme commands
commit sha eefcf5d50af558caee0ec77764fed3bdecd2b975
Extract number parsing code to new function This also changes the multipliers.
commit sha 79cb039a94bfe060012c60fa35d21f6341cbea60
Add libavfilter command and improved control over FFmpeg's resource usage
push time in 2 months
push eventdd-pardal/esmBot-video
commit sha 05ddc285899ce875eb09f252c19cd3e564cf42ee
Add video support to the caption and meme commands
commit sha eb0fb3532831b98e2ccdfca98d1a42948ce71d98
Extract number parsing code to new function This also changes the multipliers.
commit sha 4bec30cecc6dada2a81a9198250c0ffe9cb89a2f
Add libavfilter command and improved control over FFmpeg's resource usage
push time in 2 months
push eventdd-pardal/esmBot-video
commit sha 1b3c65282feeaa2fafca096e1deb1a8a9a070a33
Add auxiliary SQLite files to .gitignore
commit sha ab41ee1ecd0a2091ea601b5a2bbd9780bdd95030
Rename files in preparation for video support
commit sha 586ab7d3c05c356ceaa65815465fb78f7c1ce040
Add video support to the caption and meme commands
commit sha 647694686648ea95acd838bfa10d09c458e5d695
Extract number parsing code to new function This also changes the multipliers.
commit sha 63b1827d6009cb329d1d3f91ceb296d7b69e50fe
Add libavfilter command and improved control over FFmpeg's resource usage
push time in 2 months
push eventdd-pardal/esmBot-FFmpeg
commit sha 4b7db796a5d5f771161604ffef92e97dbabf5520
Add ebcaption and ebmeme filters
commit sha 5245fcbd800f7e40ab23bb031ca2613afd77a108
Revert "fftools/ffmpeg: add special syntax for loading filter options from files" This reverts commit 78f46065d861eb8487124e92ab46a459426eb89c and allows for untrusted filtergraphs.
commit sha 7ada7351af30810dcba93d124c15151baeac61d8
Patch/disable filters that perform I/O directly
commit sha 8193848c77137f5194c2e12294250c2a7ed71c50
Add memorylimit option
push time in 2 months
push eventdd-pardal/esmBot-video
commit sha 729d6e618ba314f1a6d37f295a938f55ed5838da
Added libavfilter command and improved control over FFmpeg's resource usage
push time in 2 months
push eventdd-pardal/esmBot-video
commit sha a76d9327ef1639da70809ec0f19689a60d11f6a0
Extracted number parsing code to new function
commit sha 10812ebc22e3393fca39d909d62fb3ae494cf070
Added libavfilter command and improved control over FFmpeg's resource usage
push time in 2 months
push eventdd-pardal/esmBot-video
commit sha 16e2572e3e9e4ad2ed2138c266c440c84fcec41b
Renamed files in preparation for video support
commit sha d6ddd0658a1a5139a8681aaea47c022ae4db2c00
Added video support to the caption and meme commands
push time in 2 months
push eventdd-pardal/esmBot-video
commit sha 6d4d84b1d8b0ff332fe944d29340b5fed90c9d1b
Added video support to the caption and meme commands
push time in 2 months
push eventdd-pardal/esmBot-FFmpeg
commit sha 5a6b08d679d87c3cee38baa7053364b596541b6c
Added ebcaption and ebmeme filters
commit sha 94d42ef5e8205d2037f2382bbb43f217eaad1223
Revert "fftools/ffmpeg: add special syntax for loading filter options from files" This reverts commit 78f46065d861eb8487124e92ab46a459426eb89c and allows for untrusted filtergraphs.
commit sha 8bf15fbbcde38328355faee8095a872b49112275
Patched/disabled filters that perform I/O directly
push time in 2 months
push eventdd-pardal/esmBot-FFmpeg
commit sha eb432e003fa5a00c2eea0a7982b73f8f8067dc4a
Revert "fftools/ffmpeg: add special syntax for loading filter options from files" This reverts commit 78f46065d861eb8487124e92ab46a459426eb89c and allows for untrusted filtergraphs.
commit sha 77254c68ceb0731566b9ae2ef8a6fd240b0cd7af
Patched/disabled filters that perform I/O directly
push time in 2 months
push eventdd-pardal/esmBot-FFmpeg
commit sha 12965cdf9ac6187a8488620065250c3c16a66ff3
Added ebcaption and ebmeme filters
push time in 2 months
push eventdd-pardal/esmBot-video
commit sha e7b3c751c78b2df9b660da8f02256e5708bbfab0
Added video support to the caption and meme commands
push time in 2 months
push eventdd-pardal/esmBot-video
commit sha bd329ef2750f5c7b20802db0fe59c852e6a98bbe
Replace timeout error throws in PM2 manager with more tame logs
commit sha 5a9e25fd056b7784c26ecac0bf5e944c3a11efc6
Made hooh actually work properly
commit sha fce8bec30d7901b44a9cd2a871195f3b5762cab0
Fix classic commands in DMs
commit sha 4e762c9371bfb22e8c70dae220b46a61bdc6c08e
Fix CPU pinning issue (#374) (#375)
commit sha 5c17ecabc9df109a57df8a2d41e59c01891a09b0
Port tile, fix whisper
commit sha c325eb843049acc9939209aa4db6413b0bbfd9c6
Remove unused includes in tile
commit sha eee77d7685c3b27f1fa4697cbf958aba04d9212a
Added auxiliary SQLite files to .gitignore
commit sha 4ddeef8c14648a5caeda56b8540b23cfdab69e31
Added video support to the caption and meme commands
push time in 2 months
push eventdd-pardal/esmBot-FFmpeg
commit sha 36f2c80aeb961268d2e8644abc0a20c6cf9a4a22
Added video support to the caption and meme commands
push time in 2 months
startedFFmpeg/FFmpeg
started time in 2 months
issue commentesmBot/esmBot
After a bit more testing, I'm pretty sure this is an issue with Node.js. I can't reproduce it after commenting out this part of the code, which should be undetectable by undici:
.then(() => (/*{
buffer:*/ Buffer.alloc(10)/*,
fileExtension: "bin"
}*/))
comment created time in 2 months
push eventdd-pardal/esmBot
commit sha 8041d44ad01cdcc8979e2835478bd2d39c9b3927
Fix CPU pinning issue (#374)
push time in 2 months
push eventdd-pardal/esmBot
commit sha fa1a4193d5229b7507f54e12765d60be8378b31c
Fix CPU pinning issue (#374)
push time in 2 months
issue commentesmBot/esmBot
After a few hours of git bisect
ing and debugging, I have narrowed down the issue.
It turns out this is not related to the natives at all. In fact, I can reproduce the issue with only 3 files on aarch64 Debian (Raspberry Pi 4 Model B 2GB):
package.json
:
{"type":"module","dependencies":{"undici":"5.21.2"}}
test.js
:
import { Worker } from "worker_threads";
import path from "path";
import { fileURLToPath } from "url";
new Worker(path.join(path.dirname(fileURLToPath(import.meta.url)), "./test-worker.js"));
test-worker.js
:
import { request } from "undici";
request("https://media.tenor.com/qy_WcGdRzfgAAAAC/xluna-high-five.gif").then(res => res.body.arrayBuffer()).then(buf => Buffer.from(buf))
.then(() => ({
buffer: Buffer.alloc(10),
fileExtension: "bin"
}))
.then(() => {
process.exit();
});
I believe this is caused by a bug in Node.js, but it might also be caused by undici.
Removing undici.request()
from utils/image-runner.js
fixes the issue for me. Removing process.exit()
from utils/image-runner.js
, allowing the worker to exit naturally when the event loop queue is empty, also fixes the issue for me. I made a pull request that does both things. Importing a library as big as undici when every image command is run (in the case of API_TYPE=none
) probably slows down things a bit so removing it is a positive change, IMO.
comment created time in 2 months
push eventdd-pardal/esmBot
commit sha 5abdf3cc5b29047839cc6f75a30d41bc9690563d
Fix CPU pinning issue (#374)
push time in 2 months
fork dd-pardal/esmBot
A free and open-source Discord bot designed to entertain your server
fork in 2 months
push eventdd-pardal/esmBot-video
commit sha 810c189f4832ee256b9f944d824400177a75b493
Added video support to the caption and meme commands
push time in 2 months
push eventdd-pardal/esmBot-video
commit sha ac52bcc3da0ea840beecbd174af344ab1972c133
Added video support to the caption and meme commands
push time in 2 months
push eventdd-pardal/esmBot-video
commit sha 24add2f9b18fb22d71664cc1138bc29d113946b3
Added video support to the caption and meme commands
push time in 2 months