This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thread 22 (Thread 0x7f7e882e2700 (LWP 24112)): | |
#0 0x00007f7e878f1fdd in poll () at ../sysdeps/unix/syscall-template.S:81 | |
#1 0x00007f7e87dcbd9b in timer_thread_sleep (gvl=0x1ebcf28) at thread_pthread.c:1455 | |
#2 thread_timer (p=0x1ebcf28) at thread_pthread.c:1563 | |
#3 0x00007f7e875ef184 in start_thread (arg=0x7f7e882e2700) at pthread_create.c:312 | |
#4 0x00007f7e878ff37d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 | |
Thread 21 (Thread 0x7f7e7bbf7700 (LWP 24116)): | |
#0 0x00007f7e878f6c53 in select () at ../sysdeps/unix/syscall-template.S:81 | |
#1 0x00007f7e87dd3c7b in rb_fd_select (n=<optimized out>, readfds=<optimized out>, writefds=<optimized out>, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def calculate! | |
self.with_lock do | |
Octopus.using(:replica) do | |
self.class::CALCULATION_METHODS.each { |method| send(method) } | |
end | |
self.updated_at = self.calculated_at = Time.now | |
self.is_calculated = true | |
self.save!(touch: false) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sidekiq::BatchSet.new.each { |batch| Sidekiq::Batch::Status.new(batch.bid).delete } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<li id="download_basket"><a class="dropdown-toggle" data-toggle="dropdown" href="#"> | |
<i class="ace-icon fa fa-download"></i> | |
<span class="badge">1</span> | |
</a> | |
<ul class="dropdown-menu-right dropdown-navbar dropdown-menu dropdown-caret dropdown-close ui-sortable" id="sortable" style=""> | |
<li class="dropdown-header"> | |
<i class="ace-icon fa fa-file-text-o"></i> | |
<span class="count">1</span> | |
Reports in the basket | |
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListBucket" | |
], | |
"Resource": [ | |
"arn:aws:s3:::kp-software" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as Sentry from 'sentry-expo'; | |
const log = (message, level) => { | |
console.log(message); | |
Sentry.addBreadcrumb({ | |
message, | |
level, | |
}) | |
}; |
OlderNewer