Skip to content

Commit

Permalink
feat: updating epoch progress of one day to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
IPadawans committed Jan 24, 2025
1 parent 547b37d commit aaf4b8f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .github/templates/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ runs:
export YT_API_SEARCH_URL="${{ inputs.YT_API_SEARCH_URL }}"
export YT_API_KEY="${{ inputs.YT_API_KEY }}"
export YT_SEARCH_INFORMATION="${{ inputs.YT_SEARCH_INFORMATION }}"
export STARGAZER_PUBLIC_KEY="${{ inputs.STARGAZER_PUBLIC_KEY }}"
cd modules/shared_data/src/main/resources
Expand All @@ -164,7 +163,6 @@ runs:
sed -i 's/CL_PASSWORD_PLACEHOLDER/${CL_PASSWORD}/g' application.conf.tmp
mv application.conf.tmp application.conf
cat application.conf
- name: Fetch Dependencies
shell: bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ object Utils {
private val epochProgressesInOneHour = oneHourInSeconds / oneEpochProgressInSeconds
private val oneDayInHours = 24

val epochProgressOneDay: Int = epochProgressesInOneHour * oneDayInHours
val epochProgressOneDay: Int = 5

def logger[F[_] : Async]: SelfAwareStructuredLogger[F] = Slf4jLogger.getLoggerFromName[F]("Utils")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.tessellation.schema.ID.Id
import org.tessellation.schema.address.Address
import org.tessellation.schema.balance.Amount

import java.time.{LocalDate, LocalDateTime}
import java.time.LocalDate
import scala.concurrent.duration._

case class ApplicationConfig(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ object YouTube {
totalResults: Int
)

@derive(encoder, decoder)
case class PageInfo(
totalResults : Int
)

@derive(encoder, decoder)
case class SearchListResponse(
items : List[VideoSummary],
Expand Down

0 comments on commit aaf4b8f

Please sign in to comment.