Hasan Kumar
Hasan Kumar
When I am using two servers it checks for lock on each server twice parallel(n) -> find_servers(n) will result in n**2 loop Instead changed it to check if the current...
running deadweight on ``` # bootstrap/_print.scss a[href^="#"]:after, a[href^="javascript:"]:after { content: ""; } ``` gives following error as strip changes `a[href^="javascript:"]:after` to `a[href^="javascript` which is an invalid selector ``` gems/nokogiri-1.6.6.2/lib/nokogiri/css/parser_extras.rb:87:in `on_error':...
We have a few long running (~30min) non-idempotent jobs Wondering if some mechanism to ensure heroku keeps those dynos up (without killing midway) even after restart/recycle Saw https://github.com/mperham/sidekiq/wiki/Ent-Rolling-Restarts , but...
i.e., only for cases where string is constant - Also fixes a subtle bug involving safe_join([helper_object]), where helper_object.html_safe? may not be defined or may not return true but helper_object.to_s.html_safe? returns...
[Ref](https://github.com/citusdata/docker/pull/280#pullrequestreview-843435274) Are the new hyperscale citus images published somewhere?
``` Unable to annotate app/models/user_login_change_key.rb: comparison of Array with Array failed /bundle/ruby/3.2.0/bundler/gems/annotate_models-e60a66644e8a/lib/annotate/annotate_models.rb:367:in `sort_by' /bundle/ruby/3.2.0/bundler/gems/annotate_models-e60a66644e8a/lib/annotate/annotate_models.rb:367:in `get_foreign_key_info' /bundle/ruby/3.2.0/bundler/gems/annotate_models-e60a66644e8a/lib/annotate/annotate_models.rb:203:in `get_schema_info' /bundle/ruby/3.2.0/bundler/gems/annotate_models-e60a66644e8a/lib/annotate/annotate_models.rb:539:in `annotate' /bundle/ruby/3.2.0/bundler/gems/annotate_models-e60a66644e8a/lib/annotate/annotate_models.rb:740:in `annotate_model_file' /bundle/ruby/3.2.0/bundler/gems/annotate_models-e60a66644e8a/lib/annotate/annotate_models.rb:716:in `block in do_annotations' /bundle/ruby/3.2.0/bundler/gems/annotate_models-e60a66644e8a/lib/annotate/annotate_models.rb:715:in `each' /bundle/ruby/3.2.0/bundler/gems/annotate_models-e60a66644e8a/lib/annotate/annotate_models.rb:715:in `do_annotations' /bundle/ruby/3.2.0/bundler/gems/annotate_models-e60a66644e8a/bin/annotate:31:in...
Sharing the queries so it is clear what is happening `MultiTenant.with(Account.find(1)) { Project.limit(1).delete_all }` generates a SQL query `DELETE FROM "projects" WHERE "projects"."id" IN (SELECT "projects"."id" FROM "projects" WHERE "projects"."account_id"...
Getting below error and dont see schema.rb columns in suggestions when I start solargraph with bundle ``` [WARN] undefined method `present?' for "":String /bundle/ruby/3.2.0/gems/solargraph-rails-1.1.0/lib/solargraph/rails/schema.rb:90:in `infer_table_names' /bundle/ruby/3.2.0/gems/solargraph-rails-1.1.0/lib/solargraph/rails/schema.rb:85:in `find_table' /bundle/ruby/3.2.0/gems/solargraph-rails-1.1.0/lib/solargraph/rails/schema.rb:41:in `process' /bundle/ruby/3.2.0/gems/solargraph-rails-1.1.0/lib/solargraph-rails.rb:45:in...
``` key not found: :enum /bundle/ruby/3.2.0/gems/solargraph-rails-1.1.0/lib/solargraph/rails/schema.rb:50:in `fetch' /bundle/ruby/3.2.0/gems/solargraph-rails-1.1.0/lib/solargraph/rails/schema.rb:50:in `block in process' /bundle/ruby/3.2.0/gems/solargraph-rails-1.1.0/lib/solargraph/rails/schema.rb:46:in `each' /bundle/ruby/3.2.0/gems/solargraph-rails-1.1.0/lib/solargraph/rails/schema.rb:46:in `map' /bundle/ruby/3.2.0/gems/solargraph-rails-1.1.0/lib/solargraph/rails/schema.rb:46:in `process' /bundle/ruby/3.2.0/gems/solargraph-rails-1.1.0/lib/solargraph-rails.rb:45:in `block in local' /bundle/ruby/3.2.0/gems/solargraph-rails-1.1.0/lib/solargraph-rails.rb:60:in `run_feature' /bundle/ruby/3.2.0/gems/solargraph-rails-1.1.0/lib/solargraph-rails.rb:45:in `local' ```
We make quite a few LLM calls in our background jobs and want to leverage fibers to efficiently use the resources as these jobs spend most of their time waiting...