vitkarpov
Repos
157
Followers
212

vitkarpov.me blog archive

759
61

:computer: :books: Interviews & competitive programming

13
2

It's STL (👋 C++ fans) for your {Type,Java}Script projects.

:star: A tiny JavaScript library to create UI-components in a declarative way

28
3

:bookmark_tabs: JavaScript library to make channels between browser tabs

21
4

Compiles nunjucks templates *right* into HTML

36
11

Events

pull request opened
Better promise chains
Created at 1 week ago

Better promise chains

Created at 1 week ago
create branch
vitkarpov create branch better-promise-chain
Created at 1 week ago
Created at 1 week ago
closed issue
Delayed jobs work fine with local Redis instance but don't in AWS

I checked locally vs staging and verified that delayed jobs work fine with local Redis instance but don't with AWS (all fire at once). Could it be Redis in AWS doesn't support all commands used for timer implementation, etc. How would I debug a problem like that?

PS. activateDelayedJobs is on.

Created at 3 weeks ago
opened issue
Delayed jobs work fine with local Redis instance but don't in AWS

How I would debug a problem like that? I checked locally vs staging and verified that delayed jobs work fine with local Redis instance but don't with AWS (all fire at once). activateDelayedJobs is on.

Created at 3 weeks ago
issue comment
looping and adding jobs to que

Here's an example from my app:

const jobs = jobList.map((data) => {
    const job = queue
      .createJob(data)
      .timeout(5000)
      .retries(3)
      .backoff('exponential', 30000);

    return job;
  });
await queue.saveAll(jobs);
Created at 3 weeks ago
Created at 2 months ago
vitkarpov create branch main
Created at 2 months ago
vitkarpov create repository
Created at 2 months ago
Created at 2 months ago